Show tagget document link in the tags subtemplate of documents
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
from django.utils.translation import ugettext_lazy as _
|
||||
|
||||
from tags import tag_document_remove
|
||||
from tags import tag_document_remove, tag_tagged_item_list
|
||||
|
||||
|
||||
def get_tags_subtemplate(obj):
|
||||
@@ -14,6 +14,6 @@ def get_tags_subtemplate(obj):
|
||||
'title': _(u'tags'),
|
||||
'object_list': obj.tags.all(),
|
||||
'hide_link': True,
|
||||
'navigation_object_links': [tag_document_remove],
|
||||
'navigation_object_links': [tag_tagged_item_list, tag_document_remove],
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user