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:27:47 -04:00
parent 5de63c4477
commit 0ffe20befd
17 changed files with 33 additions and 46 deletions

View File

@@ -19,5 +19,6 @@ link_comment_delete = Link(
)
link_comments_for_document = Link(
icon='fa fa-comment', permissions=(permission_comment_view,),
text=_('Comments'), view='comments:comments_for_document', args='object.pk'
text=_('Comments'), view='comments:comments_for_document',
args='resolved_object.pk'
)