From 820b738e22c7b5e235965be920a7f89b34819401 Mon Sep 17 00:00:00 2001 From: Tatiana Ovchinnikova Date: Thu, 29 Jul 2021 14:57:59 -0500 Subject: [PATCH] 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 --- .../workflow/launch-instance/source/source.controller.js | 8 +++++--- 1 file 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 9f08017236..3a22b26dfc 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