summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTatiana Ovchinnikova <t.v.ovtchinnikova@gmail.com>2021-07-29 14:57:59 -0500
committerTatiana Ovchinnikova <t.v.ovtchinnikova@gmail.com>2021-08-20 14:06:00 +0000
commit820b738e22c7b5e235965be920a7f89b34819401 (patch)
tree4587384808248ad4ff0a665135ea08c32f5ee161
parentfbf4036db3e54a8024f0ebc5859531a82c9ebefc (diff)
downloadhorizon-820b738e22c7b5e235965be920a7f89b34819401.tar.gz
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
-rw-r--r--openstack_dashboard/dashboards/project/static/dashboard/project/workflow/launch-instance/source/source.controller.js8
1 files changed, 5 insertions, 3 deletions
diff --git a/openstack_dashboard/dashboards/project/static/dashboard/project/workflow/launch-instance/source/source.controller.js b/openstack_dashboard/dashboards/project/static/dashboard/project/workflow/launch-instance/source/source.controller.js
index 9f0801723..3a22b26df 100644
--- a/openstack_dashboard/dashboards/project/static/dashboard/project/workflow/launch-instance/source/source.controller.js
+++ b/openstack_dashboard/dashboards/project/static/dashboard/project/workflow/launch-instance/source/source.controller.js
@@ -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