source.controller.js (horizon-18.6.2) | : | source.controller.js (horizon-18.6.3) | ||
---|---|---|---|---|
skipping to change at line 168 | skipping to change at line 168 | |||
return acc; | return acc; | |||
}, {}); | }, {}); | |||
function getStatus(status) { | function getStatus(status) { | |||
return statusesObj[status]; | return statusesObj[status]; | |||
} | } | |||
// Mapping for dynamic table columns | // Mapping for dynamic table columns | |||
var tableColumnsMap = { | var tableColumnsMap = { | |||
image: [ | image: [ | |||
{ id: 'name', title: gettext('Name'), priority: 1 }, | { id: 'name_or_id', title: gettext('Name'), priority: 1 }, | |||
{ id: 'updated_at', title: gettext('Updated'), filters: ['simpleDate'], priority: 2 }, | { id: 'updated_at', title: gettext('Updated'), filters: ['simpleDate'], priority: 2 }, | |||
{ id: 'size', title: gettext('Size'), filters: ['bytes'], priority: 2 }, | { id: 'size', title: gettext('Size'), filters: ['bytes'], priority: 2 }, | |||
{ id: 'disk_format', title: gettext('Type'), filters: [getImageDiskForma t], priority: 2 }, | { id: 'disk_format', title: gettext('Type'), filters: [getImageDiskForma t], priority: 2 }, | |||
{ id: 'visibility', title: gettext('Visibility'), filters: [getVisibilit y], priority: 2 } | { id: 'visibility', title: gettext('Visibility'), filters: [getVisibilit y], priority: 2 } | |||
], | ], | |||
snapshot: [ | snapshot: [ | |||
{ id: 'name', title: gettext('Name'), priority: 1 }, | { id: 'name', title: gettext('Name'), priority: 1 }, | |||
{ id: 'updated_at', title: gettext('Updated'), filters: ['simpleDate'], priority: 2 }, | { id: 'updated_at', title: gettext('Updated'), filters: ['simpleDate'], priority: 2 }, | |||
{ id: 'size', title: gettext('Size'), filters: ['bytes'], priority: 2 }, | { id: 'size', title: gettext('Size'), filters: ['bytes'], priority: 2 }, | |||
{ id: 'disk_format', title: gettext('Type'), filters: [getImageDiskForma t], priority: 2 }, | { id: 'disk_format', title: gettext('Type'), filters: [getImageDiskForma t], priority: 2 }, | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 1 lines changed or added |