version 1.4, 2006/04/03 17:46:43
|
version 1.8, 2006/04/06 16:49:14
|
Line 9 td.vario { background-color:#AC1D15 }
|
Line 9 td.vario { background-color:#AC1D15 }
|
|
|
<!-- span = bodytext --> |
<!-- span = bodytext --> |
<span metal:fill-slot="body" tal:omit-tag=""> |
<span metal:fill-slot="body" tal:omit-tag=""> |
<tal:block tal:define="authorized python:here.isAuthorized()"> |
|
|
|
<!-- user is logged in --> |
<tal:block tal:define="authorized python:here.checkPermission('authorized')"> |
<!-- 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 --> |
<tal:block tal:condition="authorized"> |
|
<h2 tal:define="mode python: options.get('mode', 'open')"><span |
|
|
</tal:block> |
|
<h2 tal:define="mode python: options.get('mode', None)"><span |
|
tal:condition="python: mode == 'private'" |
tal:condition="python: mode == 'private'" |
tal:replace="python:'My '" /><span |
tal:replace="python:'My '" /><span |
tal:condition="python: mode == 'open_internal'" |
tal:condition="python: mode == 'open_intern'" |
tal:replace="python:'User '" /><span |
tal:replace="python:'User '" /><span |
tal:condition="python: mode == 'open'" |
tal:condition="python: mode == 'open'" |
tal:replace="python:'Public '" />Sets |
tal:replace="python:'Public '" />Sets |
<span tal:condition="python:here.isAuthorized('edit') and mode != 'open_internal'"> |
<span tal:condition="python:here.checkPermission('edit') and mode != 'open_intern'"> |
<a class="editLink" tal:attributes=" |
<a class="editLink" tal:attributes=" |
href python:'manageBasketFolder?mode=%s'%mode"> | Edit overview</a></span></h2> |
href python:'manageBasketFolder?mode=%s'%mode"> | Edit overview</a></span></h2> |
|
|
<tal:block tal:repeat="item python:here.getSets(mode=options.get('mode', None))"> |
<tal:block tal:repeat="item python:here.getSets(mode=options.get('mode', 'open'))"> |
<hr> |
<hr> |
<a class="setTitle" tal:attributes="href item/absolute_url" tal:content="item/title"/> |
<a class="setTitle" tal:attributes="href item/absolute_url" tal:content="item/title"/> |
<div class="TOC" tal:content="structure item/shortDescription"/> |
<div class="TOC" tal:content="structure item/shortDescription"/> |
|
</tal:block> |
|
|
|
</tal:block> |
|
|
|
<tal:block tal:condition="not: authorized"> |
|
log in message |
|
</tal:block> |
|
|
</tal:block> |
</tal:block> |
|
|