Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions news/332.bugfix
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Fix events portlet error when rendering with thumbnails suppressed [alecpm]
2 changes: 1 addition & 1 deletion plone/app/event/portlets/portlet_events.pt
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
tal:attributes="href item_url;
title item_descr"
tal:define="scale item/context/@@images|nothing;">
<span tal:condition="item_hasimage">
<span tal:condition="python:thumb_scale and item_hasimage">
<img tal:define="img_tag python:scale.scale('image', scale=thumb_scale).tag(css_class='pull-right thumb-'+thumb_scale)"
tal:replace="structure img_tag" />
</span>
Expand Down