Changeset 2704 in products for quintagroup.portlet.collection/trunk/quintagroup/portlet/collection/collection.pt
- Timestamp:
- Jul 20, 2010 7:51:26 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
quintagroup.portlet.collection/trunk/quintagroup/portlet/collection/collection.pt
r1575 r2704 2 2 i18n:domain="plone" 3 3 tal:define="collection_url view/collection_url; 4 styling view/data/styling; 5 plone_view context/@@plone; 6 toLocalizedTime nocall:plone_view/toLocalizedTime; 7 getIcon nocall:plone_view/getIcon;" 4 styling view/data/styling" 8 5 tal:attributes="class string:${attrs/class} ${styling}"> 9 6 … … 15 12 </a> 16 13 <span class="portletTopRight"></span> 14 <span class="portletNavSection" 15 tal:condition="view/data/allow_batching" 16 tal:content="structure view/batch_navigation"> 17 </span> 17 18 </dt> 18 19 <tal:events tal:repeat="obj view/results"> 20 <dd class="portletItem" 21 tal:define="oddrow repeat/obj/odd; 22 item_icon python:getIcon(obj); 23 show_title python:view.showProperty('Title'); 24 show_description python:view.showProperty('Description')" 25 tal:attributes="class python:oddrow and 'portletItem even' or 'portletItem odd'"> 26 <a href="#" 27 class="tile" 28 tal:attributes="href obj/getURL; 29 title python: show_description and obj.Description or ''"> 30 <img tal:replace="structure item_icon/html_tag" /> 31 <span class="tileTitle" 32 tal:condition="show_title" 33 tal:content="obj/pretty_title_or_id"> 34 Title 35 </span> 36 <span class="tileDescription" 37 tal:condition="show_description"> 38 <tal:descr content="obj/Description" /> 39 <span class="tileReadMore" 40 tal:condition="view/data/show_item_more" 41 tal:attributes="href obj/getURL" i18n:translate="more_url"> 42 …more 43 </span> 44 </span> 45 <span class="portletItemDetails" 46 tal:condition="view/data/show_dates" 47 tal:content="python:toLocalizedTime(obj.Date)"> 48 Date 49 </span> 50 </a> 51 </dd> 52 </tal:events> 53 19 <tal:items replace="structure view/render_items"/> 54 20 <dd class="portletFooter" tal:condition="view/data/show_more"> 55 21 <span class="portletBottomLeft"></span>
Note: See TracChangeset
for help on using the changeset viewer.