Fix link resolution in the document signature list view. This view exposes 3 navigable objects, use 'resolved_object' for correct link resolution.

This commit is contained in:
Roberto Rosario
2016-03-26 16:28:08 -04:00
parent 5de63c4477
commit 0ffe20befd
17 changed files with 33 additions and 46 deletions
+1 -1
View File
@@ -52,7 +52,7 @@ link_smart_link_instance_view = Link(
link_smart_link_instances_for_document = Link(
icon='fa fa-link', permissions=(permission_document_view,),
text=_('Smart links'), view='linking:smart_link_instances_for_document',
args='object.pk'
args='resolved_object.pk'
)
link_smart_link_list = Link(
permissions=(permission_smart_link_create,), text=_('Smart links'),