1 | <tal:rootClass define="rootExtraClass view/data/styling; |
---|
2 | rootExtraClass python:rootExtraClass and ' %s' % rootExtraClass or ''"> |
---|
3 | <div tal:condition="view/data/omit_border" |
---|
4 | tal:attributes="class string:portletStaticText ${view/css_class}${rootExtraClass}" |
---|
5 | tal:content="structure view/data/text" /> |
---|
6 | <dl tal:condition="not:view/data/omit_border" |
---|
7 | tal:attributes="class string:portlet portletStaticText ${view/css_class}${rootExtraClass}" |
---|
8 | i18n:domain="plone"> |
---|
9 | |
---|
10 | <dt class="portletHeader"> |
---|
11 | <span class="portletTopLeft"></span> |
---|
12 | <span class="portletHeaderContent"> |
---|
13 | <a tal:omit-tag="not:view/has_link" |
---|
14 | tal:attributes="href view/data/more_url" |
---|
15 | tal:content="view/data/header" |
---|
16 | /> |
---|
17 | </span> |
---|
18 | <span class="portletTopRight"></span> |
---|
19 | </dt> |
---|
20 | |
---|
21 | <dd class="portletItem odd"> |
---|
22 | <div tal:replace="structure view/data/text" /> |
---|
23 | <tal:corners condition="not:view/has_footer"> |
---|
24 | <span class="portletBottomLeft"></span> |
---|
25 | <span class="portletBottomRight"></span> |
---|
26 | </tal:corners> |
---|
27 | </dd> |
---|
28 | |
---|
29 | <dd class="portletFooter" tal:condition="view/has_footer"> |
---|
30 | <span class="portletBottomLeft"></span> |
---|
31 | <span> |
---|
32 | <a tal:omit-tag="not:view/has_link" |
---|
33 | tal:attributes="href view/data/more_url" |
---|
34 | tal:content="view/data/footer" |
---|
35 | /> |
---|
36 | </span> |
---|
37 | <span class="portletBottomRight"></span> |
---|
38 | </dd> |
---|
39 | |
---|
40 | </dl> |
---|
41 | </tal:rootClass> |
---|