<html metal:use-macro="here/main_template/macros/page">
<head>
<title>Default</title>
</head>
<body>
<!-- span = bodytext -->
<span metal:fill-slot="body" tal:omit-tag="">
<!-- user is logged in -->
<tal:block tal:condition="python:here.isAuthorized('edit')">
<!-- log in message -->
<div class="logout" style="float:right"><a href="/users/login.html?logout">log out</a></div>
<div class="userName">logged in as <span tal:content="here/getActualUserName"/></div>
<!-- id selected: manage set -->
<h3>Manage set overview</h3>
<div class="item" tal:repeat="item here/getObjects">
<hr>
<div>
<a tal:attributes="href python:'moveTop?id=%s'%item.getId()">top</a>
<a tal:attributes="href python:'moveUp?id=%s'%item.getId()">up</a>
<a tal:attributes="href python:'moveDown?id=%s'%item.getId()">down</a>
<a tal:attributes="href python:'moveBottom?id=%s'%item.getId()">bottom</a>
<a tal:attributes="href python:'deleteObject?id=%s'%item.getId()">delete</a>
</div>
<div tal:replace="structure item/shortDescription"/>
</div>
</tal:block>
<!-- user is not logged in -->
<tal:block tal:condition="not:python:here.isAuthorized('edit')">
<h3>No access</h3>
<p>You sre not authorized to access this page, please <a href="/users/login.html">log in</a>.</p>
</tal:block>
</span>
<!-- ende bodytext -->
</body>
</html>
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>