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

version 1.5, 2006/05/05 08:13:36 version 1.7, 2007/01/30 14:26:42
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['lockerrors']">
   <td tal:content="python:error"/>    
   <td><span tal:replace="python:error[1]"/>
   </td>
   </tr>
   </table>
   </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']">  <tr tal:repeat="error python:options['errors']">
 <td tal:content="python:error.getId()"/>      <td tal:content="python:error[0]"/> 
 <td><span tal:replace="python:error.lockedBy"/>  <td><span tal:replace="python:error[1]"/>
 </td>  </td>
 </tr>  </tr>
 </table>  </table>
 </div>  </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>
 <p>Upload file contains <span tal:replace="python:options['numberOfFiles']"/> files.</p>  <p>Upload file contains <span tal:replace="python:options['numberOfFiles']"/> files.</p>
Line 77 Line 90
     <td>Changed lines (approx.)</td>      <td>Changed lines (approx.)</td>
 </tr>  </tr>
 <tr tal:repeat="change python:options['changed']">  <tr tal:repeat="change python:options['changed']">
 <td tal:content="python:change[0].getId()"/>      <td tal:content="python:change[0]"/>    
 <td><span tal:replace="python:change[1][0]"/>  <td><span tal:replace="python:change[1]"/>
 </td>  </td>
 </tr>  </tr>
 </table>      </table>    

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


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