<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="">
<tal:block tal:define="authorized python:here.isAuthorized()">
<!-- user is logged in -->
<tal:block tal:condition="authorized">
<!-- log in message -->
<div class="logout" style="float:right">
<a href="/users/?logout">log out</a></div>
<div class="userName">logged in as <span tal:content="here/getActualUserName"/></div>
<!-- option box ?! -->
<div class="optionBox"
tal:condition="python: here.checkPermission('edit')"
tal:define="global currentBasket here/getCurrentBasket">
<i tal:condition="python:
currentBasket and (here.title == currentBasket.title)">This is the <br>active set</i>
<a class="editLink" tal:condition="not: python:
currentBasket and (here.title == currentBasket.title)"
href="selectThisBasketAsCurrent">Make this your active set.</a>
</div>
<h2 class="setTitle"><span tal:replace="here/title"/>
<span tal:condition="python: here.checkPermission('edit')">
<a class="editLink" href="manageBasket">| Edit</a></span>
</h2>
<div class="setDescription"
tal:content="structure here/shortDescription">shortDescription</div><br>
<div class="setComment"
tal:content="structure here/comment">Comment</div>
<div style="height:2px;background-color:white;margin-bottom:3px;"> </div>
<tal:x tal:repeat="item here/getBasketObjects">
<div tal:content="structure item/content_html"
style="background-color:#d7d7d7;margin-bottom:3px;"/>
<!--<div style="height:2px;background-color:#d7d7d7;margin-bottom:3px;"> </div-->
<div tal:content="structure item/comment"/>
<div style="height:2px;background-color:white;margin:5px 5px 10px 0px;"> </div>
</tal:x>
</tal:block>
<!-- user is not logged in -->
<tal:block tal:condition="not: authorized">
<h3>No access</h3>
<p>You are not authorized to access this page, please <a href="/users/">log in</a>.</p>
</tal:block>
</tal:block>
</span>
<!-- ende bodytext -->
</body>
</html>
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>