<html metal:use-macro="here/main_template/macros/page">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<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:1 or here.checkPermission('authorized')">
<!-- user is logged in -->
<tal:block tal:condition="authorized">
<!-- option box ?! -->
<div class="optionBox"
tal:condition="python: here.checkPermission('edit')"
tal:define="global currentBasket here/getCurrentBasket">
<i tal:condition="python:
currentBasket and (here.id == currentBasket.id)">This is the active set</i>
<a class="editLink"
tal:condition="not: python: currentBasket and (here.id == currentBasket.id)"
tal:attributes="
href python: 'selectThisBasketAsCurrent?target=/users/setFolder/' + here.id"
>Make this <br>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/getShortDescription">shortDescription</div><br>
<div class="setComment"
tal:content="structure python: here.formatAscii(here.vlp.link2html(here.comment))">Comment</div>
<br>
<div class="seperator"> </div>
<tal:x tal:repeat="item here/getBasketObjects">
<div class="setItem" tal:condition="item/content_html"
tal:content="structure item/content_html"
/>
<div class="setItemComment" tal:condition="item/comment"
tal:content="structure python:
here.formatAscii(here.vlp.link2html(item.comment))"
/>
<div class="seperator"> </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>