version 1.2, 2006/02/15 21:57:39
|
version 1.4, 2006/08/24 09:08:02
|
Line 11
|
Line 11
|
|
|
<form id="addBasket" tal:condition="python:len(versions)>0" action="basketContainer/manageBaskets"> |
<form id="addBasket" tal:condition="python:len(versions)>0" action="basketContainer/manageBaskets"> |
<p> |
<p> |
<input type="submit" value="delete"> or <input type="submit" value="duplicate"> selected basket(s). |
<input type="submit" name="submit" value="delete"> <!--or <input type="submit" name="submit" value="duplicate">--> selected basket(s). |
</p> |
</p> |
<table width="100%" border=0 cellspacing=1 cellpadding=2> |
<table width="100%" border=0 cellspacing=1 cellpadding=2> |
<tr> |
<tr> |
Line 46
|
Line 46
|
</th> |
</th> |
</tr> |
</tr> |
<span tal:omit-tag="" tal:define="sortField python:here.REQUEST.get('sortField','title')" tal:repeat="version versions"> |
<span tal:omit-tag="" tal:define="sortField python:here.REQUEST.get('sortField','title')" tal:repeat="version versions"> |
|
|
<tr tal:define="lastVersion python:version[1].getLastVersion()"> |
<tr tal:define="lastVersion python:version[1].getLastVersion()"> |
<td tal:condition="python:here.getActiveBasket() and (here.getActiveBasket().getId()==version[1].getId())"> |
<td tal:condition="python:here.getActiveBasket() and (here.getActiveBasket().getId()==version[1].getId())"> |
<input type="radio" checked name="active=" tal:attributes="value python:version[1].getId(); |
<input type="radio" checked name="active=" tal:attributes="value python:version[1].getId(); |
Line 54
|
Line 55
|
</td> |
</td> |
<td tal:condition="not:python:here.getActiveBasket() and (here.getActiveBasket().getId()==version[1].getId())"> |
<td tal:condition="not:python:here.getActiveBasket() and (here.getActiveBasket().getId()==version[1].getId())"> |
<input type="radio" name="active=" tal:attributes="value python:version[1].getId(); |
<input type="radio" name="active=" tal:attributes="value python:version[1].getId(); |
onchange python:'location.href=\'setActiveBasket?basketId='+version[1].getId()+'\''"> |
onchange python:'location.href=\'setActiveBasket?basketId='+version[1].getId()+'&'+here.REQUEST['QUERY_STRING']+'\''"> |
</td> |
</td> |
<td><input type="checkbox" tal:attributes="value python:version[1].getId()" name="ids"></td> |
<td><input type="checkbox" tal:attributes="value python:version[1].getId()" name="ids"></td> |
|
|
<td> |
<td> |
<a tal:content="python:version[1].title" tal:attributes="href python:lastVersion.absolute_url()"/></td> |
<a tal:content="python:version[1].title" tal:attributes="href python:lastVersion.absolute_url()"/></td> |
<td> |
<td> |
Line 67
|
Line 69
|
<td tal:content="lastVersion/getUser"/> |
<td tal:content="lastVersion/getUser"/> |
<td tal:content="lastVersion/getComment"/> |
<td tal:content="lastVersion/getComment"/> |
<td><a tal:attributes="href python:lastVersion.absolute_url()+'/manageVCommentForm'"><small tal:content="python:lastVersion.getComment()"/></a></td> |
<td><a tal:attributes="href python:lastVersion.absolute_url()+'/manageVCommentForm'"><small tal:content="python:lastVersion.getComment()"/></a></td> |
<!--<td><a tal:attributes="href python:version[1].absolute_url()+'/manageCommentForm'"><small tal:content="python:version[1].getComment()"/></a></td>--> |
|
<td><a tal:attributes="href python:lastVersion.absolute_url()+'/downloadObjectsAsOneFile'">download</a></td> |
<td><a tal:attributes="href python:lastVersion.absolute_url()+'/downloadObjectsAsOneFile'">download</a></td> |
<td><a tal:attributes="href python:lastVersion.absolute_url()+'/downloadObjectsAsOneFile?lock=yes'"> download with locking</a> |
<td><a tal:attributes="href python:lastVersion.absolute_url()+'/downloadObjectsAsOneFile?lock=yes'"> download with locking</a> |
<td><a tal:attributes="href python:here.REQUEST['URL1']+'/'+version[0]+'/uploadBasket_html?basketId='+version[0]">Upload New Version</a></td> |
<td><a tal:attributes="href python:here.REQUEST['URL1']+'/'+version[0]+'/uploadBasket_html?basketId='+version[0]">Upload New Version</a></td> |
Line 76
|
Line 78
|
|
|
|
|
</tr> |
</tr> |
|
|
|
|
|
|
</span> |
</span> |
</table> |
</table> |
</form> |
</form> |