# HG changeset patch # User Thierry Florac # Date 1536331462 -7200 # Node ID 3ebcbb1f52a2644c06a147ddddecc653a638c3d7 # Parent f4f8dccfee8b69b2841ffc197b5379e6259f9a27# Parent ffb1f0d3b85ba45f627b07ac4b91c4e0d8be6793 Updated paragraph renderer diff -r ffb1f0d3b85b -r 3ebcbb1f52a2 src/pyams_default_theme/component/paragraph/milestone.py --- a/src/pyams_default_theme/component/paragraph/milestone.py Thu Sep 06 18:14:22 2018 +0200 +++ b/src/pyams_default_theme/component/paragraph/milestone.py Fri Sep 07 16:44:22 2018 +0200 @@ -18,15 +18,13 @@ # import interfaces from pyams_content.component.paragraph.interfaces.milestone import IMilestoneParagraph from pyams_content.features.renderer.interfaces import IContentRenderer -from pyams_skin.layer import IPyAMSLayer - # import packages from pyams_content.features.renderer.skin import BaseContentRenderer +from pyams_default_theme import _ +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 _ - # # Milestone paragraph default renderer diff -r ffb1f0d3b85b -r 3ebcbb1f52a2 src/pyams_default_theme/component/paragraph/verbatim.py --- a/src/pyams_default_theme/component/paragraph/verbatim.py Thu Sep 06 18:14:22 2018 +0200 +++ b/src/pyams_default_theme/component/paragraph/verbatim.py Fri Sep 07 16:44:22 2018 +0200 @@ -15,26 +15,23 @@ # import standard library from persistent import Persistent +from zope.interface import implementer +from zope.location import Location +from zope.schema.fieldproperty import FieldProperty # import interfaces from pyams_content.component.illustration.interfaces import IIllustration from pyams_content.component.paragraph.interfaces.verbatim import IVerbatimParagraph from pyams_content.features.renderer.interfaces import IContentRenderer +# import packages +from pyams_content.features.renderer.skin import BaseContentRenderer +from pyams_default_theme import _ from pyams_default_theme.component.paragraph.interfaces.verbatim import IVerbatimParagraphRendererSettings, \ ILateralVerbatimParagraphRendererSettings, IDefaultVerbatimParagraphRendererSettings from pyams_i18n.interfaces import II18n from pyams_skin.layer import IPyAMSLayer - -# import packages -from pyams_content.features.renderer.skin import BaseContentRenderer from pyams_template.template import template_config from pyams_utils.adapter import adapter_config, get_annotation_adapter -from zope.interface import implementer -from zope.location import Location -from zope.schema.fieldproperty import FieldProperty - -from pyams_default_theme import _ - # # Verbatim paragraph default renderer settings