Annotation of versionedFile/zpt/versionHistory.zpt, revision 1.1

1.1     ! dwinter     1: <html>
        !             2:   <h2>Versioned File - <span tal:content="here/title"/></h2>
        !             3:   
        !             4:   <p><a tal:attributes="href python:here.REQUEST['URL2']">Back to the Folder</a></p>
        !             5:   <p><a target="_blank" tal:attributes="href python:here.REQUEST['URL2']+'/acl_users/manage_main'">add a new User</a></p>
        !             6: 
        !             7: 
        !             8:   <h3 tal:condition="not:python:here.lockedBy==''"><a tal:attributes="href python:here.REQUEST['URL1']+'/addVersionedFileObjectForm'">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></h3>
        !             9: <h3 tal:condition="python:here.lockedBy==''"><a tal:attributes="href python:here.REQUEST['URL1']+'/addVersionedFileObjectForm'">Upload New Version</a></h3>
        !            10: 
        !            11:   <table  width="100%" border=0 cellspacing=1 cellpadding=2>
        !            12:     <tr>
        !            13:       <th align=left bgcolor="#88ff88">File</th>
        !            14:       <th align=left bgcolor="#cccccc">
        !            15:    <a href="">Rev.</a>
        !            16:       </th>
        !            17:       <th align=left bgcolor="#cccccc">
        !            18:    <a href="">Date</a>
        !            19:       </th>
        !            20:       <th align=left bgcolor="#cccccc">
        !            21:    <a href="">Author</a>
        !            22:       </th>
        !            23:       <th align=left bgcolor="#cccccc">
        !            24:    <a href="">Log entry</a>
        !            25:       </th>
        !            26:       <th align=left bgcolor="#cccccc">
        !            27:    <a href="">Download</a>
        !            28:       </th>
        !            29:       <th align=left bgcolor="#cccccc">
        !            30:    <a href="">Downl. and Lock</a>
        !            31:       </th>
        !            32:     </tr>
        !            33:     <tr tal:repeat="version python:here.getVersions()">
        !            34:    <td tal:content="python:version[1].aq_parent.title"/>
        !            35:    <td tal:content="python:version[1].versionNumber"/>
        !            36:    <td tal:content="python:version[1].bobobase_modification_time()"/>
        !            37:    <td tal:content="python:version[1].lastEditor()"/>
        !            38:    <td tal:content="python:version[1].versionComment"/>
        !            39:    <td><a tal:attributes="href python:here.REQUEST['URL1']+'/'+version[1].getId()">download</a></td>
        !            40:    <td><a tal:attributes="href python:here.REQUEST['URL1']+'/downloadLocked'">download and lock</a></td>
        !            41:    
        !            42:    
        !            43:       </tr>
        !            44:    </table>
        !            45: </html>

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