Annotation of basket/zpt/BasketFolder_manage_template_standard.zpt, revision 1.3
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: <!-- log in message -->
1.2 dwinter 17: <div class="logout" style="float:right"><a href="users/?logout">log out</a></div>
1.1 dwinter 18: <div class="userName">logged in as <span tal:content="here/getActualUserName"/></div>
19:
20: <!-- id selected: manage set -->
21:
22:
1.3 ! dwinter 23: <h2 tal:define="global mode python: here.REQUEST.get('mode', 'private')"><span
! 24: tal:condition="python: mode == 'private'"
1.2 dwinter 25: tal:replace="python:'My '" /><span
1.3 ! dwinter 26: tal:condition="python: mode == 'open_internal'"
1.2 dwinter 27: tal:replace="python:'User '" /><span
1.3 ! dwinter 28: tal:condition="python: mode == 'open'"
1.2 dwinter 29: tal:replace="python:'Public '" />Sets</h2>
30:
31: <h3>Edit this Overview:</h3>
1.1 dwinter 32:
33: <div class="item" tal:repeat="item here/getObjects">
34: <hr>
35: <div>
1.2 dwinter 36: <span style="float:right">
37: <a tal:attributes="
38: class python:'editLink';
39: href python:'deleteObject?id=%s'%item.getId()">delete</a>
40: </span>
41: <a class="setTitle" tal:attributes="href item/absolute_url" tal:content="item/title"/>
42: </div>
43: <div class="TOC">
44: <a tal:attributes="
45: class python:'editLink';
46: href python:'moveTop?id=%s'%item.getId()">top</a>
47: <a tal:attributes="
48: class python:'editLink';
49: href python:'moveUp?id=%s'%item.getId()">up</a>
50: <a tal:attributes="
51: class python:'editLink';
52: href python:'moveDown?id=%s'%item.getId()">down</a>
53: <a tal:attributes="
54: class python:'editLink';
55: href python:'moveBottom?id=%s'%item.getId()">bottom</a>
1.1 dwinter 56: </div>
57: </div>
1.2 dwinter 58: <br><a tal:attributes="
1.3 ! dwinter 59: href python:'setFolder?mode=%s'%mode">return to set overwiew</a>
1.1 dwinter 60: </tal:block>
61:
62:
63: <!-- user is not logged in -->
64: <tal:block tal:condition="not:python:here.isAuthorized('edit')">
65:
66: <h3>No access</h3>
67: <p>You sre not authorized to access this page, please <a href="/users/login.html">log in</a>.</p>
68: </tal:block>
69:
70: </span>
71: <!-- ende bodytext -->
72: </body>
73: </html>
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>