File:  [Repository] / basket / zpt / BasketFolder_manage_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="">


<!-- user is logged in -->
<tal:block tal:condition="python:here.isAuthorized('edit')">
	<!-- 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 -->

	
	<h3>Manage set overview</h3>
	
	<div class="item" tal:repeat="item here/getObjects">
	<hr>
	 <div>
		<a tal:attributes="href python:'moveTop?id=%s'%item.getId()">top</a>
	 	<a tal:attributes="href python:'moveUp?id=%s'%item.getId()">up</a>
	 	<a tal:attributes="href python:'moveDown?id=%s'%item.getId()">down</a>
	 	<a tal:attributes="href python:'moveBottom?id=%s'%item.getId()">bottom</a>
	 	&nbsp;&nbsp;<a tal:attributes="href python:'deleteObject?id=%s'%item.getId()">delete</a>
	 </div>
	 <div tal:replace="structure item/shortDescription"/>
	 	
	</div>
</tal:block>


<!-- user is not logged in -->
<tal:block tal:condition="not:python:here.isAuthorized('edit')">

	<h3>No access</h3>
	<p>You sre not authorized to access this page, please <a href="/users/login.html">log in</a>.</p>
</tal:block>

</span>
<!-- ende bodytext -->
</body>
</html>

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