File:  [Repository] / cdli / zpt / viewCDLIFile.zpt
Revision 1.1: download - view: text, annotated - select for diffs - revision graph
Thu Nov 3 01:47:58 2005 UTC (18 years, 7 months ago) by dwinter
Branches: MAIN
CVS tags: HEAD
*** empty log message ***

    1: <html metal:use-macro="here/main_template/macros/page">
    2:   <tal:block metal:fill-slot="body">
    3:   <h2>Textdisplay</h2>
    4:   <p><a tal:content="python:'back(%s)'%here.aq_parent.aq_parent.title" tal:attributes="href python:here.aq_parent.aq_parent.absolute_url()"/></p>
    5:   <p>File Name: <span tal:replace="here/title"/> (version <span tal:replace="here/versionNumber"/>)</p>
    6:   <a tal:attributes="href python:here.absolute_url()">download</a>
    7:   <a tal:condition="python:here.lockedBy==''" tal:attributes="href python:here.REQUEST['URL1']+'/downloadLocked'">download and lock</a>
    8:   <a tal:condition="not:python:here.lockedBy==''">locked</a>
    9:   <a tal:condition="python:here.lockedBy==''" tal:attributes="href python:here.REQUEST['URL1']+'/'+'/addVersionedFileObjectForm'">Upload New Version</a>
   10:   <tal:block tal:condition="not:python:here.lockedBy==''">
   11: 	  <b tal:attributes="href python:here.REQUEST['URL1']+'/addVersionedFileObjectForm'">Locked by: <span tal:replace="here/lockedBy"/></b>&nbsp;<a tal:attributes="href python:here.REQUEST['URL1']+'/'+version[0]+'/unlock'">unlock</a>
   12:  </tal:block>
   13:   <pre tal:content="here/data"/>
   14:   </tal:block>
   15:  </html>

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