Annotation of basket/zpt/BasketFolder_manage_template_standard.zpt, revision 1.6
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 -->
1.6 ! dwinter 15: <tal:block tal:condition="python:here.checkPermission('edit')">
1.1 dwinter 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">
1.5 dwinter 34: <a class="editLink" tal:attributes="
35: href python: item.absolute_url() + '/selectThisBasketAsCurrent'">select</a> -
36: <a class="editLink" tal:attributes="
37: href python: item.absolute_url() + '/manageBasket'">edit</a> -
1.2 dwinter 38: <a tal:attributes="
39: class python:'editLink';
1.5 dwinter 40: href python:'deleteObject?id=%s'%item.getId()"
41: onclick="return window.confirm(
42: 'Do you really want to remove this item?\nThis is not undoable.')">delete</a>
1.2 dwinter 43: </span>
44: <a class="setTitle" tal:attributes="href item/absolute_url" tal:content="item/title"/>
45: </div>
46: <div class="TOC">
1.5 dwinter 47: move: <a tal:attributes="
1.2 dwinter 48: class python:'editLink';
49: href python:'moveTop?id=%s'%item.getId()">top</a>
50: <a tal:attributes="
51: class python:'editLink';
52: href python:'moveUp?id=%s'%item.getId()">up</a>
53: <a tal:attributes="
54: class python:'editLink';
55: href python:'moveDown?id=%s'%item.getId()">down</a>
56: <a tal:attributes="
57: class python:'editLink';
58: href python:'moveBottom?id=%s'%item.getId()">bottom</a>
1.1 dwinter 59: </div>
60: </div>
1.2 dwinter 61: <br><a tal:attributes="
1.3 dwinter 62: href python:'setFolder?mode=%s'%mode">return to set overwiew</a>
1.1 dwinter 63: </tal:block>
64:
65:
66: <!-- user is not logged in -->
1.6 ! dwinter 67: <tal:block tal:condition="not:python:here.checkPermission('edit')">
1.1 dwinter 68:
69: <h3>No access</h3>
70: <p>You sre not authorized to access this page, please <a href="/users/login.html">log in</a>.</p>
71: </tal:block>
72:
73: </span>
74: <!-- ende bodytext -->
75: </body>
76: </html>
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>