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
This commit is contained in:
yuki kasuya 2016-03-30 23:17:51 +09:00
parent e1f07e2794
commit 9d732abbaf
1 changed files with 1 additions and 1 deletions

View File

@ -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]: