From 954dd8b994cee63cd1778efa188c20f212800ec7 Mon Sep 17 00:00:00 2001 From: Roberto Rosario Date: Wed, 15 Aug 2018 03:47:03 -0400 Subject: [PATCH] Hide the title link of documents in the trash. Signed-off-by: Roberto Rosario --- HISTORY.rst | 1 + mayan/apps/documents/views/document_views.py | 1 + 2 files changed, 2 insertions(+) diff --git a/HISTORY.rst b/HISTORY.rst index 3080027201..1a5bc6f31b 100644 --- a/HISTORY.rst +++ b/HISTORY.rst @@ -45,6 +45,7 @@ - Add link to view the events of a tag. - Add support for subscribing to the events of a tag. - Add the tag events view permissions to the tag model ACL. +- Hide the title link of documents in the trash. 3.0.1 (2018-07-08) diff --git a/mayan/apps/documents/views/document_views.py b/mayan/apps/documents/views/document_views.py index daeca07ae6..d980aaa940 100644 --- a/mayan/apps/documents/views/document_views.py +++ b/mayan/apps/documents/views/document_views.py @@ -119,6 +119,7 @@ class DeletedDocumentListView(DocumentListView): context = super(DeletedDocumentListView, self).get_extra_context() context.update( { + 'hide_link': True, 'title': _('Documents in trash'), } )