Line | |
---|
1 | <html metal:use-macro="here/content_lib_master/macros/master"> |
---|
2 | <metal:block fill-slot="head_slot"> |
---|
3 | </metal:block> |
---|
4 | |
---|
5 | <metal:block fill-slot="css_slot"> |
---|
6 | <link rel="Stylesheet" type="text/css" href="" |
---|
7 | tal:attributes="href string:${base_url}document.css" /> |
---|
8 | </metal:block> |
---|
9 | <metal:block fill-slot="header"> |
---|
10 | </metal:block> |
---|
11 | |
---|
12 | <metal:block fill-slot="main" |
---|
13 | tal:define="roles member/getRoles; |
---|
14 | folder here/getContent; |
---|
15 | items here/contentValues" |
---|
16 | > |
---|
17 | <tal:block tal:content="structure python:doc.render()" /> |
---|
18 | <br /> |
---|
19 | <p>The Levels</p> |
---|
20 | <tal:block condition="python: len(items)"> |
---|
21 | <table> |
---|
22 | <span tal:repeat="item items"> |
---|
23 | <tr> |
---|
24 | <td> |
---|
25 | Level : |
---|
26 | </td> |
---|
27 | <td> |
---|
28 | <i> |
---|
29 | <a href="xxx" |
---|
30 | tal:attributes="href item/absolute_url" |
---|
31 | tal:content="item/id"></a> <span tal:condition="nothing" tal:content="item/title_or_id" tal:omit-tag="" /> |
---|
32 | </i> |
---|
33 | </td> |
---|
34 | </tr> |
---|
35 | </span> |
---|
36 | </table> |
---|
37 | </tal:block> |
---|
38 | |
---|
39 | <tal:block condition="python: not len(items)"> |
---|
40 | (No items contained here!) |
---|
41 | </tal:block> |
---|
42 | |
---|
43 | </metal:block> |
---|
44 | <metal:block fill-slot="sub"> |
---|
45 | </metal:block> |
---|
46 | </html> |
---|
Note: See
TracBrowser for help on using the repository browser.