Diff for /cdli/zpt/versionHistory.zpt between versions 1.1 and 1.2

version 1.1, 2006/06/17 14:53:35 version 1.2, 2008/01/21 17:19:01
Line 1 Line 1
 <html metal:use-macro="here/main_template/macros/page">  <html metal:use-macro="here/main_template/macros/page">
   <tal:block metal:fill-slot="body" tal:define="options here/REQUEST">    <tal:block metal:fill-slot="body" 
       tal:define="options here/REQUEST; parent python:here.aq_parent">
     <p><a tal:attributes="href parent/absolute_url">Up to folder <span tal:content="parent/getId"/></a></p>
   
   <h2>Versioned File - <span tal:content="here/title"/></h2>    <h2>Versioned File - <span tal:content="here/title"/></h2>
   <table>  
     <tr>    <p><a tal:attributes="href python:here.getContentObject().absolute_url()+'/view'">View file</a></p>
       <td>  
     <a tal:attributes="href python:here.REQUEST['URL2']">Back to the Folder</a><br>    <p tal:condition="not:python:here.lockedBy==''">
     <a target="_blank" tal:attributes="href python:here.REQUEST['URL2']+'/acl_users/manage_main'">add a new User</a><br><br>      <a>No upload possible: File is locked by <span tal:replace="python:here.lockedBy"/></a>&nbsp;<a tal:attributes="href python:here.REQUEST['URL1']+'/unlock'">unlock</a>
     <font size="+1" tal:condition="not:python:here.lockedBy==''"><a>No upload possible: File is locked by <span tal:replace="python:here.lockedBy"/></a>&nbsp;<a tal:attributes="href python:here.REQUEST['URL1']+'/unlock'">unlock</a></font>    </p>
     <font size="+1" tal:condition="python:here.lockedBy==''"><a tal:attributes="href python:here.REQUEST['URL1']+'/addVersionedFileObjectForm'">Upload New Version</a></font>    <p tal:condition="python:here.lockedBy==''">
      </td>      <a tal:attributes="href python:here.REQUEST['URL1']+'/addVersionedFileObjectForm'">Upload New Version</a>
     </tr>    </p>
   </table>    <p tal:condition="python:here.lockedBy==''">
       <a tal:attributes="href python:here.REQUEST['URL1']+'/deleteFileForm'">Delete this file</a>
     </p>
   
 <h4><em>Download and lock</em> will lock the whole file not only the version!</h4>  <h4><em>Download and lock</em> will lock the whole file not only the version!</h4>
   
   <table  width="100%" border=0 cellspacing=1 cellpadding=2>    <table  width="100%" border=0 cellspacing=1 cellpadding=2>
     <tr>      <tr>
       <th align=left bgcolor="#88ff88">File</th>        <th align=left bgcolor="#88ff88">File</th>
Line 41 Line 48
       </th>        </th>
     </tr>      </tr>
     <tr tal:repeat="version python:here.getVersions()">      <tr tal:repeat="version python:here.getVersions()">
     <td><a tal:content="python:version[1].title" tal:attributes="href python:version[1].absolute_url()+'/view'"/></td>      <td><a tal:content="python:version[1].getId()" tal:attributes="href python:version[1].absolute_url()+'/view'"/></td>
     <td tal:content="python:version[1].versionNumber"/>      <td tal:content="python:version[1].versionNumber"/>
     <td tal:content="python:version[1].getTime()"/>      <td tal:content="python:version[1].getTime()"/>
     <td tal:content="python:version[1].lastEditor()"/>      <td tal:content="python:version[1].lastEditor()"/>

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


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