version 1.2, 2005/12/08 17:11:31
|
version 1.3, 2006/06/18 12:05:21
|
Line 6
|
Line 6
|
<a tal:attributes="href python:here.absolute_url()">download</a> |
<a tal:attributes="href python:here.absolute_url()">download</a> |
<a tal:condition="python:here.lockedBy==''" tal:attributes="href python:here.REQUEST['URL1']+'/downloadLocked'">download and lock</a> |
<a tal:condition="python:here.lockedBy==''" tal:attributes="href python:here.REQUEST['URL1']+'/downloadLocked'">download and lock</a> |
<a tal:condition="not:python:here.lockedBy==''">locked</a> |
<a tal:condition="not:python:here.lockedBy==''">locked</a> |
<a tal:condition="python:here.lockedBy==''" tal:attributes="href python:here.REQUEST['URL1']+'/'+'/addVersionedFileObjectForm'">Upload New Version</a> |
<a tal:condition="python:here.lockedBy==''" tal:attributes="href python:here.REQUEST['URL1']+'/'+'/addCDLIFileObjectForm'">Upload New Version</a> |
<tal:block tal:condition="not:python:here.lockedBy==''"> |
<tal:block tal:condition="not:python:here.lockedBy==''"> |
<b tal:attributes="href python:here.REQUEST['URL1']+'/addVersionedFileObjectForm'">Locked by: <span tal:replace="here/lockedBy"/></b> <a tal:attributes="href python:here.REQUEST['URL2']+'/unlock'">unlock</a> |
<b tal:attributes="href python:here.REQUEST['URL1']+'/addCDLIFileObjectForm'">Locked by: <span tal:replace="here/lockedBy"/></b> <a tal:attributes="href python:here.REQUEST['URL2']+'/unlock'">unlock</a> |
</tal:block> |
</tal:block> |
<pre tal:content="here/data"/> |
<pre tal:content="here/data"/> |
</tal:block> |
</tal:block> |