Diff for /basket/zpt/BasketFolder_template_standard.zpt between versions 1.3 and 1.7

version 1.3, 2006/04/03 11:05:04 version 1.7, 2006/04/06 07:50:28
Line 9  td.vario { background-color:#AC1D15 } Line 9  td.vario { background-color:#AC1D15 }
   
 <!-- span = bodytext -->  <!-- span = bodytext -->
 <span metal:fill-slot="body" tal:omit-tag="">  <span metal:fill-slot="body" tal:omit-tag="">
   
 <tal:block tal:define="authorized python:here.isAuthorized()">  <tal:block tal:define="authorized python:here.isAuthorized()">
   
 <!-- user is logged in -->  <tal:block tal:condition="authorized">
     <!-- log in message -->      <h2 tal:define="mode python: options.get('mode', 'open')"><span 
     <div class="logout" style="float:right"><a href="/users/login.html?logout">log out</a></div>          tal:condition="python: mode == 'private'" 
     <div class="userName">logged in as <span tal:content="here/getActualUserName"/></div>          tal:replace="python:'My '" /><span 
               tal:condition="python: mode == 'open_intern'" 
     <!-- id selected: manage set -->          tal:replace="python:'User '" /><span 
     <tal:block tal:condition="python:here.isAuthorized('edit')">          tal:condition="python: mode == 'open'" 
     <a href="manageBasketFolder">Manage set overview</a>          tal:replace="python:'Public '" />Sets
     </tal:block>      <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', 'open'))">
           <hr>
           <a class="setTitle" tal:attributes="href item/absolute_url" tal:content="item/title"/>
           <div class="TOC" tal:content="structure item/shortDescription"/>
 </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>
   
   <tal:block tal:condition="not: authorized">
   log in message
   </tal:block>
           
     </tal:x>  </tal:block>
           
 </span>  </span>
 </body>  </body>

Removed from v.1.3  
changed lines
  Added in v.1.7


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