Add document list item view.

Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com>
This commit is contained in:
Roberto Rosario
2017-07-13 17:20:02 -04:00
parent c3d4884d34
commit ff59f34b7f
18 changed files with 420 additions and 126 deletions

View File

@@ -75,11 +75,14 @@ class ResolvedSmartLinkView(DocumentListView):
'smart_link': self.smart_link.label,
}
return {
'hide_links': True,
'object': self.document,
'title': title,
}
context = super(ResolvedSmartLinkView, self).get_extra_context()
context.update(
{
'object': self.document,
'title': title,
}
)
return context
class SetupSmartLinkDocumentTypesView(AssignRemoveView):