Merge "Remove repetition of "Attached to" in table"
This commit is contained in:
commit
7018cd3fea
|
@ -373,7 +373,7 @@ class AttachmentColumn(tables.WrappingColumn):
|
||||||
"""
|
"""
|
||||||
def get_raw_data(self, volume):
|
def get_raw_data(self, volume):
|
||||||
request = self.table.request
|
request = self.table.request
|
||||||
link = _('Attached to %(instance)s on %(dev)s')
|
link = _('%(dev)s on %(instance)s')
|
||||||
attachments = []
|
attachments = []
|
||||||
# Filter out "empty" attachments which the client returns...
|
# Filter out "empty" attachments which the client returns...
|
||||||
for attachment in [att for att in volume.attachments if att]:
|
for attachment in [att for att in volume.attachments if att]:
|
||||||
|
|
Loading…
Reference in New Issue