<html metal:use-macro="here/main_template/macros/page">
<head>
<title>Default</title>
<style metal:fill-slot="additionalStyles" type="text/css">
td.vario { background-color:#AC1D15 }
</style>
</head>
<body>
<!-- span = bodytext -->
<span metal:fill-slot="body" tal:omit-tag="">
<!-- user is logged in -->
<tal:block tal:condition="python:here.checkPermission('edit')">
<!-- id selected: manage set -->
<h2 tal:define="global mode python: here.REQUEST.get('mode', 'private')"><span
tal:condition="python: mode == 'private'"
tal:replace="python:'My '" /><span
tal:condition="python: mode == 'open_internal'"
tal:replace="python:'User '" /><span
tal:condition="python: mode == 'open'"
tal:replace="python:'Public '" />Sets <a class="editLink" tal:attributes="
href python:'setFolder?mode=%s'%mode">| return to overwiew</a></h2>
<h3>Edit this Overview:</h3>
<div class="item" tal:repeat="item here/getObjects">
<hr>
<div>
<span style="float:right">
<a class="editLink" tal:attributes="
href python: item.absolute_url() + '/selectThisBasketAsCurrent'">select</a> -
<a class="editLink" tal:attributes="
href python: item.absolute_url() + '/manageBasket'">edit</a> -
<a tal:attributes="
class python:'editLink';
href python:'deleteObject?id=%s'%item.getId()"
onclick="return window.confirm(
'Do you really want to remove this item?\nThis is not undoable.')">delete</a>
</span>
<a class="setTitle" tal:attributes="href item/absolute_url" tal:content="item/title"/>
</div>
<div class="TOC">
move: <a tal:attributes="
class python:'editLink';
href python:'moveTop?id=%s'%item.getId()">top</a>
<a tal:attributes="
class python:'editLink';
href python:'moveUp?id=%s'%item.getId()">up</a>
<a tal:attributes="
class python:'editLink';
href python:'moveDown?id=%s'%item.getId()">down</a>
<a tal:attributes="
class python:'editLink';
href python:'moveBottom?id=%s'%item.getId()">bottom</a>
</div>
</div>
</tal:block>
<!-- user is not logged in -->
<tal:block tal:condition="not:python:here.checkPermission('edit')">
<h3>No access</h3>
<p>You are 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>