From a58a249b86e8d61434b5fdad37adad6e69872f06 Mon Sep 17 00:00:00 2001 From: Roberto Rosario Date: Sat, 17 Jan 2015 02:42:53 -0400 Subject: [PATCH] get_formated_version no longer exists, show other document data instead in the document list list of the document download view. Issue #149 --- mayan/apps/documents/views.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/mayan/apps/documents/views.py b/mayan/apps/documents/views.py index bb06d813fc..cdb7b08b31 100644 --- a/mayan/apps/documents/views.py +++ b/mayan/apps/documents/views.py @@ -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'}, ], } }