Remove remaining usage of lists for extra_column.

This commit is contained in:
Roberto Rosario
2015-08-20 00:44:24 -04:00
parent a39470b622
commit cc2927c4cd
3 changed files with 13 additions and 11 deletions

View File

@@ -556,12 +556,12 @@ def document_download(request, document_id=None, document_id_list=None, document
'hide_links': True,
'scrollable_content': True,
'scrollable_content_height': '200px',
'extra_columns': [
'extra_columns': (
{'name': _('Document'), 'attribute': 'document'},
{'name': _('Date and time'), 'attribute': 'timestamp'},
{'name': _('MIME type'), 'attribute': 'mimetype'},
{'name': _('Encoding'), 'attribute': 'encoding'},
],
),
}
}
)