diff --git a/CHANGES.rst b/CHANGES.rst index 69a3438c..f634f0ed 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -40,6 +40,10 @@ New features: Bug fixes: +- fixed css-classes for thumb scales ... + https://github.com/plone/Products.CMFPlone/issues/2077 + [fgrcon] + - Fix regression where navigation portlet ignored unlimited setting for *Navigation tree depth* setting [datakurre] diff --git a/plone/app/portlets/portlets/navigation_recurse.pt b/plone/app/portlets/portlets/navigation_recurse.pt index f022048d..4bef550d 100644 --- a/plone/app/portlets/portlets/navigation_recurse.pt +++ b/plone/app/portlets/portlets/navigation_recurse.pt @@ -40,7 +40,7 @@ src python:view.getMimeTypeIcon(node);"> + tal:replace="structure python:image_scale.tag(item, 'image', scale=thumb_scale, css_class='pull-right thumb-'+thumb_scale)"> Selected Item Title diff --git a/plone/app/portlets/portlets/news.pt b/plone/app/portlets/portlets/news.pt index de7c05e7..33fa54ca 100644 --- a/plone/app/portlets/portlets/news.pt +++ b/plone/app/portlets/portlets/news.pt @@ -32,7 +32,7 @@ tal:attributes="href obj/getURL; title obj/Description"> + tal:replace="structure python:image_scale.tag(obj, 'image', scale=thumb_scale, css_class='pull-right thumb-'+thumb_scale)" /> Plone 5.1 announced! diff --git a/plone/app/portlets/portlets/recent.pt b/plone/app/portlets/portlets/recent.pt index c9492fd3..6a5fe80b 100644 --- a/plone/app/portlets/portlets/recent.pt +++ b/plone/app/portlets/portlets/recent.pt @@ -41,7 +41,7 @@ src python:view.getMimeTypeIcon(obj);"> + tal:replace="structure python:image_scale.tag(obj, 'image', scale=thumb_scale, css_class='pull-right thumb-'+thumb_scale)" /> Title diff --git a/plone/app/portlets/portlets/review.pt b/plone/app/portlets/portlets/review.pt index 8e7f1f9e..e150d5fc 100644 --- a/plone/app/portlets/portlets/review.pt +++ b/plone/app/portlets/portlets/review.pt @@ -39,7 +39,7 @@ class string:$review_state_class tile $item_class"> + tal:replace="structure python:image.scale('image', scale=thumb_scale).tag(css_class='pull-right thumb-'+thumb_scale)"/> Title