From 644cd57a0ff96fa4a097efaca29108d31068fd5f Mon Sep 17 00:00:00 2001 From: Roberto Rosario Date: Wed, 10 Jul 2019 01:44:19 -0400 Subject: [PATCH] Fix document icon used in workflow runtime links Links are using the document type instead of the document icon. Signed-off-by: Roberto Rosario --- HISTORY.rst | 2 ++ mayan/apps/document_states/icons.py | 6 +++--- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/HISTORY.rst b/HISTORY.rst index fe107128ca..ccd73e65f7 100644 --- a/HISTORY.rst +++ b/HISTORY.rst @@ -1,6 +1,8 @@ 3.2.6 (2019-07-XX) ================== * Remove the smart settings app * import. +* Encode settings YAML before hashing. +* Fix document icon used in the workflow runtime links. 3.2.5 (2019-07-05) ================== diff --git a/mayan/apps/document_states/icons.py b/mayan/apps/document_states/icons.py index 8ae3b8e990..ec6aaae232 100644 --- a/mayan/apps/document_states/icons.py +++ b/mayan/apps/document_states/icons.py @@ -1,7 +1,7 @@ from __future__ import absolute_import, unicode_literals from mayan.apps.appearance.classes import Icon -from mayan.apps.documents.icons import icon_document_type +from mayan.apps.documents.icons import icon_document, icon_document_type icon_workflow = Icon(driver_name='fontawesome', symbol='sitemap') @@ -31,11 +31,11 @@ icon_workflow_instance_transition = Icon( driver_name='fontawesome', symbol='arrows-alt-h' ) -icon_workflow_runtime_proxy_document_list = icon_document_type +icon_workflow_runtime_proxy_document_list = icon_document icon_workflow_runtime_proxy_list = Icon( driver_name='fontawesome', symbol='sitemap' ) -icon_workflow_runtime_proxy_state_document_list = icon_document_type +icon_workflow_runtime_proxy_state_document_list = icon_document icon_workflow_runtime_proxy_state_list = Icon( driver_name='fontawesome', symbol='circle' )