File:  [Repository] / basket / zpt / BasketFolder_manage_template_standard.zpt
Revision 1.4: download - view: text, annotated - select for diffs - revision graph
Wed Apr 5 17:09:14 2006 UTC (18 years, 3 months ago) by dwinter
Branches: MAIN
CVS tags: HEAD
minor

    1: <html metal:use-macro="here/main_template/macros/page">
    2: <head>
    3: <title>Default</title>
    4: <style metal:fill-slot="additionalStyles" type="text/css">
    5: td.vario { background-color:#AC1D15 } 
    6: </style>
    7: </head>
    8: <body>
    9: 
   10: <!-- span = bodytext -->
   11: <span metal:fill-slot="body" tal:omit-tag="">
   12: 
   13: 
   14: <!-- user is logged in -->
   15: <tal:block tal:condition="python:here.isAuthorized('edit')">
   16: 	
   17: 	<!-- id selected: manage set -->
   18: 
   19: 	
   20: 	<h2 tal:define="global mode python: here.REQUEST.get('mode', 'private')"><span 
   21: 		tal:condition="python: mode == 'private'" 
   22: 		tal:replace="python:'My '" /><span 
   23: 		tal:condition="python: mode == 'open_internal'" 
   24: 		tal:replace="python:'User '" /><span 
   25: 		tal:condition="python: mode == 'open'" 
   26: 		tal:replace="python:'Public '" />Sets</h2>
   27: 		
   28: 	<h3>Edit this Overview:</h3>
   29: 	
   30: 	<div class="item" tal:repeat="item here/getObjects">
   31: 	<hr>
   32: 	 <div>
   33: 		<span style="float:right">
   34: 			<a tal:attributes="
   35: 				class python:'editLink'; 
   36: 				href python:'deleteObject?id=%s'%item.getId()">delete</a>
   37: 		</span>
   38: 		<a class="setTitle" tal:attributes="href item/absolute_url" tal:content="item/title"/>
   39: 	</div>
   40: 	 <div class="TOC">
   41: 		<a tal:attributes="
   42: 			class python:'editLink'; 
   43: 			href python:'moveTop?id=%s'%item.getId()">top</a>
   44: 	 	<a tal:attributes="
   45: 	 		class python:'editLink'; 
   46: 	 		href python:'moveUp?id=%s'%item.getId()">up</a>
   47: 	 	<a tal:attributes="
   48: 	 		class python:'editLink'; 
   49: 	 		href python:'moveDown?id=%s'%item.getId()">down</a>
   50: 	 	<a tal:attributes="
   51: 	 		class python:'editLink'; 
   52: 	 		href python:'moveBottom?id=%s'%item.getId()">bottom</a>
   53: 	 </div>
   54: 	</div>
   55: 	<br><a tal:attributes="
   56: 		href python:'setFolder?mode=%s'%mode">return to set overwiew</a>
   57: </tal:block>
   58: 
   59: 
   60: <!-- user is not logged in -->
   61: <tal:block tal:condition="not:python:here.isAuthorized('edit')">
   62: 
   63: 	<h3>No access</h3>
   64: 	<p>You sre not authorized to access this page, please <a href="/users/login.html">log in</a>.</p>
   65: </tal:block>
   66: 
   67: </span>
   68: <!-- ende bodytext -->
   69: </body>
   70: </html>

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