File:  [Repository] / basket / zpt / BasketFolder_template_standard.zpt
Revision 1.1: download - view: text, annotated - select for diffs - revision graph
Thu Mar 2 19:57:32 2006 UTC (18 years, 3 months ago) by dwinter
Branches: MAIN
CVS tags: HEAD
major changes users and groups introduced

<html metal:use-macro="here/main_template/macros/page">
<head>
<title>Default</title>
</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>
	<form action="addBasket">
	Add a basket with Title <input size="20" name="title"><input type="submit" value="add">
	</form>
	<!-- id selected: manage set -->
	<tal:block tal:condition="python:here.isAuthorized('edit')">
	<a href="manageBasketFolder">Manage set overview"</a>
    </tal:block>
</tal:block>
	<h1>Sets</h1>
	
	<tal:x tal:repeat="item python:here.getSets(mode=options.get('mode',None))">
	 <a tal:attributes="href item/absolute_url">
	 	<h2 tal:content="item/title"/>
	 </a>
	
	 <p tal:content="structure item/shortDescription"/>
	
	 <br>

    
	</tal:x>
	
</span>
</body>
</html>

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