Last change
on this file since 2755 was
2755,
checked in by fenix, 14 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
|
Rev | Line | |
---|
[1572] | 1 | <dl class="portlet portletCollection" |
---|
| 2 | i18n:domain="plone" |
---|
| 3 | tal:define="collection_url view/collection_url; |
---|
[2704] | 4 | styling view/data/styling" |
---|
[2755] | 5 | tal:attributes="class python: styling and '%s %s'% (attrs['class'], styling) or attrs['class']"> |
---|
[1572] | 6 | |
---|
| 7 | <dt class="portletHeader"> |
---|
| 8 | <span class="portletTopLeft"></span> |
---|
[2740] | 9 | <a tal:attributes="href collection_url" |
---|
[1572] | 10 | tal:omit-tag="not:view/data/link_title"> |
---|
| 11 | <span tal:content="view/data/header" /> |
---|
| 12 | </a> |
---|
| 13 | <span class="portletTopRight"></span> |
---|
[2704] | 14 | <span class="portletNavSection" |
---|
| 15 | tal:condition="view/data/allow_batching" |
---|
| 16 | tal:content="structure view/batch_navigation"> |
---|
| 17 | </span> |
---|
[1572] | 18 | </dt> |
---|
[2704] | 19 | <tal:items replace="structure view/render_items"/> |
---|
[1572] | 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… |
---|
| 25 | </a> |
---|
| 26 | </span> |
---|
| 27 | <span class="portletBottomRight"></span> |
---|
| 28 | </dd> |
---|
| 29 | |
---|
| 30 | </dl> |
---|
Note: See
TracBrowser
for help on using the repository browser.