Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
fgrcon committed Jun 17, 2017
1 parent cb1f4d4 commit 985ff39
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 3 deletions.
4 changes: 4 additions & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,10 @@ New features:

Bug fixes:

- fixed css-classes for thumb scales ...
https://github.com/plone/Products.CMFPlone/issues/2077
[fgrcon]

- Fix test for checking if TinyMCE is loaded which broke after https://github.com/plone/Products.CMFPlone/pull/2059
[thet]

Expand Down
2 changes: 1 addition & 1 deletion plone/app/contenttypes/browser/templates/listing.pt
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
thumb_scale_list view/get_thumb_scale_list;
thumb_scale_table view/get_thumb_scale_table;
thumb_scale_summary view/get_thumb_scale_summary;
img_class python:'image-%s pull-right' % thumb_scale_list;
img_class python:'thumb-%s pull-right' % thumb_scale_list;
showicons view/show_icons">
<tal:listing condition="batch">
<div class="entries" metal:define-slot="entries"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
tal:condition="python: item_has_image and thumb_scale_summary"
tal:attributes="class python: 'tileImage' if item_description else 'tileImageNoFloat'">
<a tal:attributes="href item_link">
<img tal:replace="structure python:image_scale.tag(item, 'image', scale=thumb_scale_summary, css_class='image-' + thumb_scale_summary)" />
<img tal:replace="structure python:image_scale.tag(item, 'image', scale=thumb_scale_summary, css_class='thumb-' + thumb_scale_summary)" />

</a>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
<div class="has-table">
<table
tal:define="thumb_scale_table view/get_thumb_scale_table;
img_class python:'image-%s pull-right' % thumb_scale_table;
img_class python:'thumb-%s pull-right' % thumb_scale_table;
showicons view/show_icons;
"
class="listing"
Expand Down

0 comments on commit 985ff39

Please sign in to comment.