version 1.3, 2005/12/08 17:11:31
|
version 1.5, 2006/07/14 19:08:30
|
Line 51
|
Line 51
|
<th align=left bgcolor="#cccccc"> |
<th align=left bgcolor="#cccccc"> |
<a>Upload</a> |
<a>Upload</a> |
</th> |
</th> |
|
<th> |
|
C |
|
</th> |
</tr> |
</tr> |
|
|
<tal:x repeat="result batch"> |
<tal:x repeat="result batch"> |
Line 71
|
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> |
</td> |
</td> |
|
<td> |
|
<a tal:repeat="collection python:version.isContainedInBaskets(context=here)" tal:content="collection/title" |
|
tal:attributes="href python:collection.getLastVersion().absolute_url()"/> </td> |
</tr> |
</tr> |
|
|
</tal:x> |
</tal:x> |