Skip to content

Commit

Permalink
Merge pull request #294 from fgrcon/master
Browse files Browse the repository at this point in the history
fix listing.pt
  • Loading branch information
fgrcon committed Nov 12, 2015
2 parents f53158c + 56357d7 commit ad7073f
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions plone/app/contenttypes/browser/templates/listing.pt
Original file line number Diff line number Diff line change
Expand Up @@ -42,14 +42,16 @@
<article class="entry">
<header metal:define-macro="listitem" tal:attributes="class python:'vevent' if item_is_event else None">
<span class="summary" tal:attributes="title item_type">
<a tal:attributes="href item_link">
<img class="image-tile"
tal:condition="item_has_image"
tal:attributes="src string:$item_url/@@images/image/tile">
</a>
<a tal:attributes="href item_link;
class string:$item_type_class $item_wf_state_class url;
title item_type"
tal:content="item_title">
<img class="image-tile"
tal:define="getIcon python:item.getURL()+'/@@images/image/tile'"
tal:condition="item_has_image"
tal:attributes="src string:$getIcon">

Item Title
</a>
</span>
Expand Down

0 comments on commit ad7073f

Please sign in to comment.