Annotation of basket/zpt/BasketFolder_manage_template_standard.zpt, revision 1.1
1.1 ! dwinter 1: <html metal:use-macro="here/main_template/macros/page">
! 2: <head>
! 3: <title>Default</title>
! 4: </head>
! 5: <body>
! 6:
! 7: <!-- span = bodytext -->
! 8: <span metal:fill-slot="body" tal:omit-tag="">
! 9:
! 10:
! 11: <!-- user is logged in -->
! 12: <tal:block tal:condition="python:here.isAuthorized('edit')">
! 13: <!-- log in message -->
! 14: <div class="logout" style="float:right"><a href="/users/login.html?logout">log out</a></div>
! 15: <div class="userName">logged in as <span tal:content="here/getActualUserName"/></div>
! 16:
! 17: <!-- id selected: manage set -->
! 18:
! 19:
! 20: <h3>Manage set overview</h3>
! 21:
! 22: <div class="item" tal:repeat="item here/getObjects">
! 23: <hr>
! 24: <div>
! 25: <a tal:attributes="href python:'moveTop?id=%s'%item.getId()">top</a>
! 26: <a tal:attributes="href python:'moveUp?id=%s'%item.getId()">up</a>
! 27: <a tal:attributes="href python:'moveDown?id=%s'%item.getId()">down</a>
! 28: <a tal:attributes="href python:'moveBottom?id=%s'%item.getId()">bottom</a>
! 29: <a tal:attributes="href python:'deleteObject?id=%s'%item.getId()">delete</a>
! 30: </div>
! 31: <div tal:replace="structure item/shortDescription"/>
! 32:
! 33: </div>
! 34: </tal:block>
! 35:
! 36:
! 37: <!-- user is not logged in -->
! 38: <tal:block tal:condition="not:python:here.isAuthorized('edit')">
! 39:
! 40: <h3>No access</h3>
! 41: <p>You sre not authorized to access this page, please <a href="/users/login.html">log in</a>.</p>
! 42: </tal:block>
! 43:
! 44: </span>
! 45: <!-- ende bodytext -->
! 46: </body>
! 47: </html>
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>