version 1.5, 2006/02/28 15:17:52
|
version 1.6, 2006/03/19 03:27:21
|
Line 11
|
Line 11
|
</td> |
</td> |
</tr> |
</tr> |
</table> |
</table> |
</tal:x> |
|
|
|
|
</tal:x> |
|
<tal:x condition="python:here.REQUEST.get('uploaded',None)"> |
|
<table width="100%" bgcolor="%FF0000"> |
|
<tr class="old"> |
|
<td>New version of <span tal:replace="python:here.REQUEST.get('uploaded',None)"/> added</td> |
|
</tr> |
|
</table> |
|
</tal:x> |
<span tal:replace="structure here/header_html"/> |
<span tal:replace="structure here/header_html"/> |
<a tal:condition="here/hasParent" |
<a tal:condition="here/hasParent" |
tal:attributes="href python:here.aq_parent.absolute_url()" |
tal:attributes="href python:here.aq_parent.absolute_url()" |
Line 29
|
Line 36
|
</table> |
</table> |
<hr> |
<hr> |
</tal:block> |
</tal:block> |
|
|
<form> |
<form> |
<script type="text/javascript"> |
<script type="text/javascript"> |
<!-- |
<!-- |
Line 81 selectButton=document.getElementById('se
|
Line 89 selectButton=document.getElementById('se
|
<th align=left bgcolor="#88ff88"> |
<th align=left bgcolor="#88ff88"> |
<a href="?sortField=title"> File</a> |
<a href="?sortField=title"> File</a> |
</th> |
</th> |
|
<th align=left bgcolor="#88ff88"> |
|
<a> Designation</a> |
|
</th> |
<th align=left bgcolor="#00"> |
<th align=left bgcolor="#00"> |
<a>Rev.</a> |
<a>Rev.</a> |
</th> |
</th> |
Line 113 selectButton=document.getElementById('se
|
Line 124 selectButton=document.getElementById('se
|
<tr tal:define="lastVersion python:version[1].getLastVersion()"> |
<tr tal:define="lastVersion python:version[1].getLastVersion()"> |
<td><input type="checkbox" tal:attributes="value python:version[1].getId()" name="ids"><a tal:content="python:version[1].title" tal:attributes="href python:lastVersion.absolute_url()+'/view'"/></td> |
<td><input type="checkbox" tal:attributes="value python:version[1].getId()" name="ids"><a tal:content="python:version[1].title" tal:attributes="href python:lastVersion.absolute_url()+'/view'"/></td> |
<td> |
<td> |
|
<span tal:content="lastVersion/getDesignation"/> |
|
</td> |
|
<td> |
<span tal:replace="lastVersion/versionNumber"/> |
<span tal:replace="lastVersion/versionNumber"/> |
<font size="-1"><a tal:attributes="href python:here.REQUEST['URL1']+'/'+version[0]+'/history'">(history)</a></font> |
<font size="-1"><a tal:attributes="href python:here.REQUEST['URL1']+'/'+version[0]+'/history'">(history)</a></font> |
</td> |
</td> |
Line 133 selectButton=document.getElementById('se
|
Line 147 selectButton=document.getElementById('se
|
<td> |
<td> |
<a tal:repeat="collection python:version[1].isContainedInBaskets(context=here)" tal:content="collection/title" |
<a tal:repeat="collection python:version[1].isContainedInBaskets(context=here)" tal:content="collection/title" |
tal:attributes="href python:collection.getLastVersion().absolute_url()"/> </td> |
tal:attributes="href python:collection.getLastVersion().absolute_url()"/> </td> |
|
|
|
<td> |
|
<a tal:attributes="href python:here.absolute_url()+'/delete?ids='+version[0]">del</a> |
|
</td> |
</tr> |
</tr> |
</span> |
</span> |
</table> |
</table> |