Update document comments app

Add keyword arguments to the app links.

Remove use of `raise_404`.

Update URL parameters to use document_id and comment_id.

Signed-off-by: Roberto Rosario <Roberto.Rosario@mayan-edms.com>
This commit is contained in:
Roberto Rosario
2019-01-19 04:08:45 -04:00
parent 53f3261dae
commit 6376445cc4
14 changed files with 49 additions and 64 deletions
+1 -1
View File
@@ -2,9 +2,9 @@ from __future__ import absolute_import, unicode_literals
from mayan.apps.appearance.classes import Icon
icon_comments_for_document = Icon(driver_name='fontawesome', symbol='comment')
icon_comment_add = Icon(
driver_name='fontawesome-dual', primary_symbol='comment',
secondary_symbol='plus'
)
icon_comment_delete = Icon(driver_name='fontawesome', symbol='times')
icon_comments_for_document = Icon(driver_name='fontawesome', symbol='comment')