source: products/quintagroup.portlet.collection/trunk/quintagroup/portlet/collection/collection.pt @ 2755

Last change on this file since 2755 was 2755, checked in by fenix, 10 years ago
  • added tests;
  • fixed style bug (None class was added when no portlet style is selected);
  • removed trailing characters;
  • removed unnecessary pice of code;
  • some javascript optimizations;
File size: 1.1 KB
Line 
1<dl class="portlet portletCollection"
2    i18n:domain="plone"
3    tal:define="collection_url view/collection_url;
4                styling view/data/styling"
5    tal:attributes="class python: styling and '%s %s'% (attrs['class'], styling) or attrs['class']">
6
7    <dt class="portletHeader">
8        <span class="portletTopLeft"></span>
9        <a tal:attributes="href collection_url"
10           tal:omit-tag="not:view/data/link_title">
11            <span tal:content="view/data/header" />
12        </a>
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>
18    </dt>
19    <tal:items replace="structure view/render_items"/>
20    <dd class="portletFooter" tal:condition="view/data/show_more">
21        <span class="portletBottomLeft"></span>
22        <span>
23        <a tal:attributes="href collection_url" i18n:translate="more_url">
24             More&hellip;
25             </a>
26        </span>
27        <span class="portletBottomRight"></span>
28    </dd>
29
30</dl>
Note: See TracBrowser for help on using the repository browser.