Diff for /cdli/zpt/uploadCheck.zpt between versions 1.5 and 1.6

version 1.5, 2006/05/05 08:13:36 version 1.6, 2006/10/04 07:18:23
Line 30 Line 30
 <input name="basketname" type="hidden" tal:attributes="value python:options['basketNameFromId']">  <input name="basketname" type="hidden" tal:attributes="value python:options['basketNameFromId']">
 </div>  </div>
   
 <div tal:condition="python:len(options['errors'])>0">  <div tal:condition="python:(len(options['errors'])>0) or (len(options['lockerrors'])>0)">
 <h3><a id="changed">There were Errors!</a></h3>  <h3><a id="changed">There were Errors!</a></h3>
 <p>Some files will not be uploaded (see below)!</p>  <p>Some files will not be uploaded (see below)!</p>
 </div>  </div>
Line 47 Line 47
 <p><input name="unlock" type="checkbox" checked> unlock the files.</p>  <p><input name="unlock" type="checkbox" checked> unlock the files.</p>
   
 </form>  </form>
 <div tal:condition="python:len(options['errors'])>0">  <div tal:condition="python:len(options['lockerrors'])>0">
 <h3>Errors:</h3>  <h3>Errors:</h3>
 <p>Files locked by somebody else, these files cannot be uploaded!</p>  <p>Files locked by somebody else, these files cannot be uploaded!</p>
 <table>  <table>
Line 55 Line 55
     <td>Title</td>      <td>Title</td>
     <td>Locked by:</td>      <td>Locked by:</td>
 </tr>  </tr>
 <tr tal:repeat="error python:options['errors']">  <tr tal:repeat="error python:options['lockerrors']">
 <td tal:content="python:error.getId()"/>      <td tal:content="python:error.getId()"/>    
 <td><span tal:replace="python:error.lockedBy"/>  <td><span tal:replace="python:error.lockedBy"/>
 </td>  </td>
 </tr>  </tr>
 </table>  </table>
 </div>  </div>
   <div tal:condition="python:len(options['errors'])>0">
   <h3>Errors:</h3>
   <table>
   <tr>
       <td>Title</td>
       <td>Error:</td>
   </tr>
   <tr tal:repeat="error python:options['errors']">
   <td tal:content="python:error[0]"/> 
   <td><span tal:replace="python:error[1]"/>
   </td>
   </tr>
   </table>
   </div>
   
 <h3>Number Of Files</h3>  <h3>Number Of Files</h3>
 <p>Basket contains <span tal:replace="python:options['basketLen']"/> files.</p>  <p>Basket contains <span tal:replace="python:options['basketLen']"/> files.</p>

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


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