File:  [Repository] / basket / zpt / BasketFolder_template_standard.zpt
Revision 1.4: download - view: text, annotated - select for diffs - revision graph
Mon Apr 3 17:46:43 2006 UTC (18 years, 2 months ago) by dwinter
Branches: MAIN
CVS tags: HEAD
michaels aenderungen in den templates

<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 -->
	<!-- 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>
	<h2 tal:define="mode python: options.get('mode', None)"><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
	<span tal:condition="python:here.isAuthorized('edit') and mode != 'open_internal'">
		<a class="editLink" tal:attributes="
			href python:'manageBasketFolder?mode=%s'%mode"> | Edit overview</a></span></h2>
	
	<tal:block tal:repeat="item python:here.getSets(mode=options.get('mode', None))">
		<hr>
		<a class="setTitle" tal:attributes="href item/absolute_url" tal:content="item/title"/>
		<div class="TOC" tal:content="structure item/shortDescription"/>
	
 	</tal:block>
	
</span>
</body>
</html>

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>