Instead of inserting the path of the apps into the Python app, the apps are now referenced by their full import path. This app name claves 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>
65 lines
2.0 KiB
Python
65 lines
2.0 KiB
Python
from __future__ import absolute_import, unicode_literals
|
|
|
|
from mayan.apps.appearance.classes import Icon
|
|
|
|
icon_about = Icon(driver_name='fontawesome', symbol='info')
|
|
icon_assign_remove_add = Icon(driver_name='fontawesome', symbol='plus')
|
|
icon_assign_remove_remove = Icon(driver_name='fontawesome', symbol='minus')
|
|
icon_check_version = Icon(driver_name='fontawesome', symbol='sync')
|
|
icon_current_user_details = Icon(driver_name='fontawesome', symbol='user')
|
|
icon_current_user_edit = Icon(driver_name='fontawesome', symbol='user')
|
|
icon_current_user_locale_profile_details = Icon(
|
|
driver_name='fontawesome', symbol='globe'
|
|
)
|
|
icon_current_user_locale_profile_edit = Icon(
|
|
driver_name='fontawesome', symbol='globe'
|
|
)
|
|
icon_documentation = Icon(driver_name='fontawesome', symbol='book')
|
|
icon_fail = Icon(
|
|
driver_name='fontawesome', symbol='times'
|
|
)
|
|
icon_forum = Icon(
|
|
driver_name='fontawesome', symbol='life-ring'
|
|
)
|
|
icon_license = Icon(
|
|
driver_name='fontawesome', symbol='certificate'
|
|
)
|
|
icon_menu_about = Icon(
|
|
driver_name='fontawesome', symbol='info'
|
|
)
|
|
icon_menu_user = Icon(
|
|
driver_name='fontawesome', symbol='user-circle'
|
|
)
|
|
icon_object_error_list_with_icon = Icon(
|
|
driver_name='fontawesome', symbol='lock'
|
|
)
|
|
icon_ok = Icon(
|
|
driver_name='fontawesome', symbol='check'
|
|
)
|
|
icon_packages_licenses = Icon(
|
|
driver_name='fontawesome', symbol='certificate'
|
|
)
|
|
icon_setup = Icon(
|
|
driver_name='fontawesome', symbol='cog'
|
|
)
|
|
icon_social_facebook = Icon(
|
|
driver_name='fontawesomecss', css_classes='fab fa-facebook'
|
|
)
|
|
icon_social_instagram = Icon(
|
|
driver_name='fontawesomecss', css_classes='fab fa-instagram'
|
|
)
|
|
icon_social_paypal = Icon(
|
|
driver_name='fontawesomecss', css_classes='fab fa-paypal'
|
|
)
|
|
icon_social_twitter = Icon(
|
|
driver_name='fontawesomecss', css_classes='fab fa-twitter'
|
|
)
|
|
icon_source_code = Icon(driver_name='fontawesome', symbol='code-branch')
|
|
icon_support = Icon(
|
|
driver_name='fontawesome', symbol='phone'
|
|
)
|
|
icon_tools = Icon(
|
|
driver_name='fontawesome', symbol='wrench'
|
|
)
|
|
icon_wiki = Icon(driver_name='fontawesome', symbol='book')
|