get_formated_version no longer exists, show other document data instead in the document list list of the document download view. Issue #149

This commit is contained in:
Roberto Rosario
2015-01-17 02:42:53 -04:00
parent 84d0892e2b
commit a58a249b86

View File

@@ -366,7 +366,9 @@ def document_download(request, document_id=None, document_id_list=None, document
'scrollable_content_height': '200px',
'extra_columns': [
{'name': _(u'Document'), 'attribute': 'document'},
{'name': _(u'Version'), 'attribute': encapsulate(lambda x: x.get_formated_version())},
{'name': _(u'Date and time'), 'attribute': 'timestamp'},
{'name': _(u'MIME type'), 'attribute': 'mimetype'},
{'name': _(u'Encoding'), 'attribute': 'encoding'},
],
}
}