version 1.4, 2006/02/28 15:17:51
|
version 1.5, 2006/07/14 19:08:30
|
Line 74
|
Line 74
|
<td tal:condition="python:lastVersion.lockedBy==''"><a tal:attributes="href python:here.getObjUrl(version.getId())+'/downloadLocked'">download and lock</a></td> |
<td tal:condition="python:lastVersion.lockedBy==''"><a tal:attributes="href python:here.getObjUrl(version.getId())+'/downloadLocked'">download and lock</a></td> |
<td tal:condition="not:python:lastVersion.lockedBy==''"><a>locked</a></td> |
<td tal:condition="not:python:lastVersion.lockedBy==''"><a>locked</a></td> |
|
|
<td tal:condition="python:lastVersion.lockedBy==''"><a tal:attributes="href python:here.getObjUrl(version.getId())+'/'+version.title+'/addVersionedFileObjectForm'">Upload New Version</a></td> |
<td tal:condition="python:lastVersion.lockedBy==''"><a tal:attributes="href python:here.getObjUrl(version.getId())+'/'+version.title+'/addVersionedFileObjectForm?come_from='+here.absolute_url()">Upload New Version</a></td> |
<td tal:condition="not:python:lastVersion.lockedBy==''"> |
<td tal:condition="not:python:lastVersion.lockedBy==''"> |
<b tal:attributes="href python:here.getObjUrl(version.getId())+'/addVersionedFileObjectForm'">Locked by: <span tal:replace="lastVersion/lockedBy"/></b> |
<b tal:attributes="href python:here.getObjUrl(version.getId())+'/addVersionedFileObjectForm'">Locked by: <span tal:replace="lastVersion/lockedBy"/></b> |
<a tal:attributes="href python:here.getObjUrl(version.getId())+'/unlock'">unlock</a> |
<a tal:attributes="href python:here.getObjUrl(version.getId())+'/unlock'">unlock</a> |