Moved MyAMS resources to dedicated package
authorThierry Florac <tflorac@ulthar.net>
Wed, 15 Jul 2020 17:06:26 +0200
changeset 516 9eaa98fb60c4
parent 515 0a295da31981
child 517 ab5a456901ec
Moved MyAMS resources to dedicated package
src/pyams_default_theme/__init__.py
src/pyams_default_theme/features/share/portlet/__init__.py
--- a/src/pyams_default_theme/__init__.py	Wed Jul 08 09:59:01 2020 +0200
+++ b/src/pyams_default_theme/__init__.py	Wed Jul 15 17:06:26 2020 +0200
@@ -12,12 +12,13 @@
 
 __docformat__ = 'restructuredtext'
 
-from fanstatic import Resource, Library
+from fanstatic import Library, Resource
 from pyramid.i18n import TranslationStringFactory
 
-from pyams_skin import bootstrap_css, bootstrap, bootstrap_modal_css, myams_js_require
+from myams import bootstrap, bootstrap_css, bootstrap_modal_css, myams_js_require
 from pyams_utils.fanstatic import ExternalResource
 
+
 _ = TranslationStringFactory('pyams_default_theme')
 
 
--- a/src/pyams_default_theme/features/share/portlet/__init__.py	Wed Jul 08 09:59:01 2020 +0200
+++ b/src/pyams_default_theme/features/share/portlet/__init__.py	Wed Jul 15 17:06:26 2020 +0200
@@ -14,17 +14,16 @@
 
 from zope.interface import Interface
 
+from myams import awesomefonts_css
 from pyams_content.features.share.interfaces import ISocialShareManager
 from pyams_content.features.share.portlet import IToolboxPortletSettings
+from pyams_default_theme import _
 from pyams_portal.interfaces import IPortalContext, IPortletRenderer
 from pyams_portal.portlet import PortletRenderer
-from pyams_skin import awesomefonts_css
 from pyams_skin.layer import IPyAMSLayer
 from pyams_template.template import template_config
 from pyams_utils.adapter import adapter_config
 
-from pyams_default_theme import _
-
 
 @adapter_config(context=(IPortalContext, IPyAMSLayer, Interface, IToolboxPortletSettings),
                 provides=IPortletRenderer)