Skip to content

Commit

Permalink
adapt thumb_scale setting to changes from PR plone/Products.CMFPlone#…
Browse files Browse the repository at this point in the history
  • Loading branch information
thet committed Jun 14, 2017
1 parent 07ffa6d commit 75dfea5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
5 changes: 2 additions & 3 deletions CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,8 @@ Breaking changes:

New features:

- make thumb size in folder contents listing adjustable/supressable
replace meaningless paper clip icon (fontello) with mime type icons
from mimetype registry
- Make thumb scale in folder contents listing adjustable/supressable.
Replace meaningless paper clip icon (fontello) with mime type icons from mimetype registry.
https://github.com/plone/Products.CMFPlone/issues/1734
[fgrcon]

Expand Down
2 changes: 1 addition & 1 deletion mockup/patterns/structure/templates/tablerow.xml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
</p>
<% } %>
</div>
<% if(attributes["getIcon"] && ( thumb_scale != 'none') ){ %>
<% if(attributes["getIcon"] && thumb_scale) { %>
<img class="image-<%- thumb_scale %> pull-right" src="<%- getURL %>/@@images/image/<%- thumb_scale %>">
<% } %>
</td>
Expand Down

0 comments on commit 75dfea5

Please sign in to comment.