Don't show full document version label in the heading of the document

version list view.

Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com>
This commit is contained in:
Roberto Rosario
2017-09-17 01:27:56 -04:00
parent b44ccc3d0d
commit 89a3d1d32a

View File

@@ -42,6 +42,7 @@ class DocumentVersionListView(SingleObjectListView):
def get_extra_context(self):
return {
'hide_object': True,
'list_as_items': True,
'object': self.get_document(),
'title': _('Versions of document: %s') % self.get_document(),