From 9d732abbafdbc9c14840c4e483d3a52a7ed459bb Mon Sep 17 00:00:00 2001 From: yuki kasuya Date: Wed, 30 Mar 2016 23:17:51 +0900 Subject: [PATCH] Remove repetition of "Attached to" in table When volume is attached to instances, there is duplicated word "Attached to" in table header and table cell. So I fixed words to "devices on instances" in table cell. Change-Id: I51f506df306dbe04791512ea5eb51524fc9d878a Closes-Bug: #1369959 --- .../dashboards/project/volumes/volumes/tables.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openstack_dashboard/dashboards/project/volumes/volumes/tables.py b/openstack_dashboard/dashboards/project/volumes/volumes/tables.py index aae8240b27..e69fe783ec 100644 --- a/openstack_dashboard/dashboards/project/volumes/volumes/tables.py +++ b/openstack_dashboard/dashboards/project/volumes/volumes/tables.py @@ -359,7 +359,7 @@ class AttachmentColumn(tables.Column): """ def get_raw_data(self, volume): request = self.table.request - link = _('Attached to %(instance)s on %(dev)s') + link = _('%(dev)s on %(instance)s') attachments = [] # Filter out "empty" attachments which the client returns... for attachment in [att for att in volume.attachments if att]: