Update the smart link app to use Django templating language. gh-issues #151.
This commit is contained in:
@@ -95,6 +95,12 @@ class DocumentsApp(MayanAppConfig):
|
||||
Document, label=_('Label'), name='label', type_name='field'
|
||||
)
|
||||
|
||||
ModelAttribute(
|
||||
Document,
|
||||
description=_('The MIME type of any of the versions of a document'),
|
||||
label=_('MIME type'), name='versions__mimetype', type_name='field'
|
||||
)
|
||||
|
||||
ModelPermission.register(
|
||||
model=Document, permissions=(
|
||||
permission_acl_edit, permission_acl_view,
|
||||
|
||||
Reference in New Issue
Block a user