--- 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)