Instead of inserting the path of the apps into the Python app, the apps are now referenced by their full import path. This solves name clashes with external or native Python libraries. Example: Mayan statistics app vs. Python new statistics library. Every app reference is now prepended with 'mayan.apps'. Existing config.yml files need to be updated manually. Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com>
15 lines
583 B
Python
15 lines
583 B
Python
from __future__ import absolute_import, unicode_literals
|
|
|
|
from mayan.apps.appearance.classes import Icon
|
|
|
|
icon_document_index_list = Icon(driver_name='fontawesome', symbol='list-ul')
|
|
icon_index_level_up = Icon(
|
|
driver_name='fontawesomecss', css_classes='fa-level-up-alt fa-rotate-90'
|
|
)
|
|
icon_index = Icon(driver_name='fontawesome', symbol='list-ul')
|
|
icon_index_create = Icon(driver_name='fontawesome', symbol='plus')
|
|
icon_node_with_documents = Icon(driver_name='fontawesome', symbol='folder')
|
|
icon_rebuild_index_instances = Icon(
|
|
driver_name='fontawesome', symbol='list-ul'
|
|
)
|