Annotation of basket/zpt/BasketFolder_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: <tal:block tal:define="authorized python:here.isAuthorized()">
! 10:
! 11: <!-- user is logged in -->
! 12: <!-- log in message -->
! 13: <div class="logout" style="float:right"><a href="/users/login.html?logout">log out</a></div>
! 14: <div class="userName">logged in as <span tal:content="here/getActualUserName"/></div>
! 15: <form action="addBasket">
! 16: Add a basket with Title <input size="20" name="title"><input type="submit" value="add">
! 17: </form>
! 18: <!-- id selected: manage set -->
! 19: <tal:block tal:condition="python:here.isAuthorized('edit')">
! 20: <a href="manageBasketFolder">Manage set overview"</a>
! 21: </tal:block>
! 22: </tal:block>
! 23: <h1>Sets</h1>
! 24:
! 25: <tal:x tal:repeat="item python:here.getSets(mode=options.get('mode',None))">
! 26: <a tal:attributes="href item/absolute_url">
! 27: <h2 tal:content="item/title"/>
! 28: </a>
! 29:
! 30: <p tal:content="structure item/shortDescription"/>
! 31:
! 32: <br>
! 33:
! 34:
! 35: </tal:x>
! 36:
! 37: </span>
! 38: </body>
! 39: </html>
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>