Skip to content

Commit

Permalink
summary_view.pt failed on obj/@@images when a Comment was found
Browse files Browse the repository at this point in the history
  • Loading branch information
ichim-david committed Aug 31, 2016
1 parent ea6290b commit 96de560
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions plone/app/collection/browser/templates/summary_view.pt
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,12 @@
<div class="tileItem visualIEFloatFix"
tal:define="obj item/getObject">
<a href="#"
tal:condition="obj/image|nothing"
tal:define="scales obj/@@images|nothing"
tal:condition="scales"
tal:attributes="href item/getURL">
<div class="tileImage">
<img src="" alt=""
tal:define="scales obj/@@images;
scale python:scales.scale('image', 'thumb')"
tal:define="scale python:scales.scale('image', 'thumb') if scales else None"
tal:replace="structure python:scale and scale.tag(css_class='tileImage') or None" />
</div>
</a>
Expand Down

0 comments on commit 96de560

Please sign in to comment.