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>
21 lines
618 B
Python
21 lines
618 B
Python
from __future__ import absolute_import, unicode_literals
|
|
|
|
from mayan.apps.appearance.classes import Icon
|
|
|
|
icon_document_content = Icon(driver_name='fontawesome', symbol='font')
|
|
icon_document_parsing_errors_list = Icon(
|
|
driver_name='fontawesome', symbol='file-alt'
|
|
)
|
|
icon_document_content_download = Icon(
|
|
driver_name='fontawesome', symbol='file-alt'
|
|
)
|
|
icon_document_type_parsing_settings = Icon(
|
|
driver_name='fontawesome', symbol='font'
|
|
)
|
|
icon_document_type_submit = Icon(
|
|
driver_name='fontawesome', symbol='crosshairs'
|
|
)
|
|
icon_link_error_list = Icon(
|
|
driver_name='fontawesome', symbol='file-alt'
|
|
)
|