Annotation of cdli/zpt/viewCDLIFile.zpt, revision 1.5

1.1       dwinter     1: <html metal:use-macro="here/main_template/macros/page">
                      2:   <tal:block metal:fill-slot="body">
                      3:   <h2>Textdisplay</h2>
1.4       dwinter     4:   <p>
1.5     ! dwinter     5:   <a tal:attributes="href python:'http://cdli.ucla.edu/'+here.getPNumber()" target="_blank">View database entry</a>
1.4       dwinter     6:   </p>
1.1       dwinter     7:   <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>
                      8:   <p>File Name: <span tal:replace="here/title"/> (version <span tal:replace="here/versionNumber"/>)</p>
                      9:   <a tal:attributes="href python:here.absolute_url()">download</a>
                     10:   <a tal:condition="python:here.lockedBy==''" tal:attributes="href python:here.REQUEST['URL1']+'/downloadLocked'">download and lock</a>
                     11:   <a tal:condition="not:python:here.lockedBy==''">locked</a>
1.3       dwinter    12:   <a tal:condition="python:here.lockedBy==''" tal:attributes="href python:here.REQUEST['URL1']+'/'+'/addCDLIFileObjectForm'">Upload New Version</a>
1.1       dwinter    13:   <tal:block tal:condition="not:python:here.lockedBy==''">
1.3       dwinter    14:      <b tal:attributes="href python:here.REQUEST['URL1']+'/addCDLIFileObjectForm'">Locked by: <span tal:replace="here/lockedBy"/></b>&nbsp;<a tal:attributes="href python:here.REQUEST['URL2']+'/unlock'">unlock</a>
1.1       dwinter    15:  </tal:block>
                     16:   <pre tal:content="here/data"/>
                     17:   </tal:block>
                     18:  </html>

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