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

version 1.1, 2006/03/02 19:57:32 version 1.7, 2006/04/06 07:50:28
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>
   
 <!-- 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 
     <form action="addBasket">          tal:condition="python: mode == 'open_intern'" 
     Add a basket with Title <input size="20" name="title"><input type="submit" value="add">          tal:replace="python:'User '" /><span 
     </form>          tal:condition="python: mode == 'open'" 
     <!-- id selected: manage set -->          tal:replace="python:'Public '" />Sets
     <tal:block tal:condition="python:here.isAuthorized('edit')">      <span tal:condition="python:here.isAuthorized('edit') and mode != 'open_intern'">
     <a href="manageBasketFolder">Manage set overview"</a>          <a class="editLink" tal:attributes="
     </tal:block>              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.1  
changed lines
  Added in v.1.7


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