version 1.3, 2004/07/08 15:55:27
|
version 1.5, 2004/07/27 07:56:21
|
Line 5
|
Line 5
|
<p><a tal:attributes="href python:here.REQUEST['URL1']+'/addFileForm'">add a new File</a></p> |
<p><a tal:attributes="href python:here.REQUEST['URL1']+'/addFileForm'">add a new File</a></p> |
<table width="100%" border=0 cellspacing=1 cellpadding=2> |
<table width="100%" border=0 cellspacing=1 cellpadding=2> |
<tr> |
<tr> |
<th align=left bgcolor="#88ff88">File</th> |
<th align=left bgcolor="#88ff88"> |
|
<a href="?sortField=title"> File</a> |
|
</th> |
<th align=left bgcolor="#cccccc"> |
<th align=left bgcolor="#cccccc"> |
<a href="">Rev.</a> |
<a>Rev.</a> |
</th> |
</th> |
<th align=left bgcolor="#cccccc"> |
<th align=left bgcolor="#cccccc"> |
<a href="">Date</a> |
<a href="?sortField=date">Date</a> |
</th> |
</th> |
<th align=left bgcolor="#cccccc"> |
<th align=left bgcolor="#cccccc"> |
<a href="">Author</a> |
<a href="?sortField=author">Author</a> |
</th> |
</th> |
<th align=left bgcolor="#cccccc"> |
<th align=left bgcolor="#cccccc"> |
<a href="">Last log entry</a> |
<a >Last log entry</a> |
</th> |
</th> |
<th align=left bgcolor="#cccccc"> |
<th align=left bgcolor="#cccccc"> |
<a href="">Download</a> |
<a>Download<br><font size="-1"><a tal:attributes="href python:here.absolute_url()+'/helpDownload'" target="help">(help)</a></font></a> |
</th> |
</th> |
<th align=left bgcolor="#cccccc"> |
<th align=left bgcolor="#cccccc"> |
<a href="">Downl. and lock</a> |
<a>Downl. and lock</a> |
</th> |
</th> |
<th align=left bgcolor="#cccccc"> |
<th align=left bgcolor="#cccccc"> |
<a href="">Upload</a> |
<a>Upload</a> |
</th> |
</th> |
</tr> |
</tr> |
<span tal:omit-tag="" tal:repeat="version here/getVersionedFiles"> |
<span tal:omit-tag="" tal:define="sortField python:here.REQUEST.get('sortField','title')" tal:repeat="version python:here.getVersionedFiles(sortField=sortField)"> |
<tr tal:define="lastVersion python:version[1].getLastVersion()"> |
<tr tal:define="lastVersion python:version[1].getLastVersion()"> |
<td tal:content="python:version[1].title"/> |
<td tal:content="python:version[1].title"/> |
<td> |
<td> |
Line 38
|
Line 40
|
<td tal:content="lastVersion/bobobase_modification_time"/> |
<td tal:content="lastVersion/bobobase_modification_time"/> |
<td tal:content="lastVersion/lastEditor"/> |
<td tal:content="lastVersion/lastEditor"/> |
<td tal:content="lastVersion/versionComment"/> |
<td tal:content="lastVersion/versionComment"/> |
<td><a tal:attributes="href python:here.REQUEST['URL1']+'/'+version[0]+'/'+lastVersion.getId()+'/download'">download</a></td> |
<td><a tal:attributes="href python:lastVersion.absolute_url()">download</a></td> |
|
|
<td tal:condition="python:lastVersion.lockedBy==''"><a tal:attributes="href python:here.REQUEST['URL1']+'/'+version[0]+'/downloadLocked'">download and lock</a></td> |
<td tal:condition="python:lastVersion.lockedBy==''"><a tal:attributes="href python:here.REQUEST['URL1']+'/'+version[0]+'/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> |