Diff for /basket/zpt/BasketFolder_template_standard.zpt between versions 1.2 and 1.6

version 1.2, 2006/03/19 03:26:56 version 1.6, 2006/04/05 17:09:14
Line 1 Line 1
 <html metal:use-macro="here/main_template/macros/page">  <html metal:use-macro="here/main_template/macros/page">
 <head>  <head>
 <title>Default</title>  <title>Default</title>
   <style metal:fill-slot="additionalStyles" type="text/css">
   td.vario { background-color:#AC1D15 } 
   </style>
 </head>  </head>
 <body>  <body>
   
Line 9 Line 12
 <tal:block tal:define="authorized python:here.isAuthorized()">  <tal:block tal:define="authorized python:here.isAuthorized()">
   
 <!-- user is logged in -->  <!-- 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 -->      <!-- 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: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_intern'" 
           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_intern'">
           <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:x>      </tal:block>
           
 </span>  </span>
 </body>  </body>

Removed from v.1.2  
changed lines
  Added in v.1.6


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