Annotation of basket/zpt/BasketFolder_manage_template_standard.zpt, revision 1.4
1.1 dwinter 1: <html metal:use-macro="here/main_template/macros/page">
2: <head>
3: <title>Default</title>
1.2 dwinter 4: <style metal:fill-slot="additionalStyles" type="text/css">
5: td.vario { background-color:#AC1D15 }
6: </style>
1.1 dwinter 7: </head>
8: <body>
9:
10: <!-- span = bodytext -->
11: <span metal:fill-slot="body" tal:omit-tag="">
12:
13:
14: <!-- user is logged in -->
15: <tal:block tal:condition="python:here.isAuthorized('edit')">
16:
17: <!-- id selected: manage set -->
18:
19:
1.3 dwinter 20: <h2 tal:define="global mode python: here.REQUEST.get('mode', 'private')"><span
21: tal:condition="python: mode == 'private'"
1.2 dwinter 22: tal:replace="python:'My '" /><span
1.3 dwinter 23: tal:condition="python: mode == 'open_internal'"
1.2 dwinter 24: tal:replace="python:'User '" /><span
1.3 dwinter 25: tal:condition="python: mode == 'open'"
1.2 dwinter 26: tal:replace="python:'Public '" />Sets</h2>
27:
28: <h3>Edit this Overview:</h3>
1.1 dwinter 29:
30: <div class="item" tal:repeat="item here/getObjects">
31: <hr>
32: <div>
1.2 dwinter 33: <span style="float:right">
34: <a tal:attributes="
35: class python:'editLink';
36: href python:'deleteObject?id=%s'%item.getId()">delete</a>
37: </span>
38: <a class="setTitle" tal:attributes="href item/absolute_url" tal:content="item/title"/>
39: </div>
40: <div class="TOC">
41: <a tal:attributes="
42: class python:'editLink';
43: href python:'moveTop?id=%s'%item.getId()">top</a>
44: <a tal:attributes="
45: class python:'editLink';
46: href python:'moveUp?id=%s'%item.getId()">up</a>
47: <a tal:attributes="
48: class python:'editLink';
49: href python:'moveDown?id=%s'%item.getId()">down</a>
50: <a tal:attributes="
51: class python:'editLink';
52: href python:'moveBottom?id=%s'%item.getId()">bottom</a>
1.1 dwinter 53: </div>
54: </div>
1.2 dwinter 55: <br><a tal:attributes="
1.3 dwinter 56: href python:'setFolder?mode=%s'%mode">return to set overwiew</a>
1.1 dwinter 57: </tal:block>
58:
59:
60: <!-- user is not logged in -->
61: <tal:block tal:condition="not:python:here.isAuthorized('edit')">
62:
63: <h3>No access</h3>
64: <p>You sre not authorized to access this page, please <a href="/users/login.html">log in</a>.</p>
65: </tal:block>
66:
67: </span>
68: <!-- ende bodytext -->
69: </body>
70: </html>
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>