Proper title for Format column

At Launch Instance dialog, Source tab, for boot sources Image and
Instance Snapshot there's Format table column. However the title for
it is Type, which is confusing since there is a different property
Type for an image/instance snapshot.

Change-Id: I8f1d3338c58ae4e25bc8437c2a11fd053b2952c1
This commit is contained in:
Tatiana Ovchinnikova 2021-07-29 14:57:59 -05:00
parent fbf4036db3
commit 820b738e22

View File

@ -168,14 +168,16 @@
{ id: 'name_or_id', title: gettext('Name'), priority: 1 },
{ id: 'updated_at', title: gettext('Updated'), filters: ['simpleDate'], priority: 2 },
{ id: 'size', title: gettext('Size'), filters: ['bytes'], priority: 2 },
{ id: 'disk_format', title: gettext('Type'), filters: [getImageDiskFormat], priority: 2 },
{ id: 'disk_format', title: gettext('Format'),
filters: [getImageDiskFormat], priority: 2 },
{ id: 'visibility', title: gettext('Visibility'), filters: [getVisibility], priority: 2 }
],
snapshot: [
{ id: 'name', title: gettext('Name'), priority: 1 },
{ id: 'updated_at', title: gettext('Updated'), filters: ['simpleDate'], priority: 2 },
{ id: 'size', title: gettext('Size'), filters: ['bytes'], priority: 2 },
{ id: 'disk_format', title: gettext('Type'), filters: [getImageDiskFormat], priority: 2 },
{ id: 'disk_format', title: gettext('Format'),
filters: [getImageDiskFormat], priority: 2 },
{ id: 'visibility', title: gettext('Visibility'), filters: [getVisibility], priority: 2 }
],
volume: [
@ -265,7 +267,7 @@
options: statuses
},
type: {
label: gettext('Type'),
label: gettext('Format'),
name: 'disk_format',
singleton: true,
options: diskFormats