version 1.8, 2006/04/05 17:09:14
|
version 1.9, 2006/04/06 07:50:28
|
Line 18 td.vario { background-color:#AC1D15 }
|
Line 18 td.vario { background-color:#AC1D15 }
|
<!-- --> |
<!-- --> |
<tal:block tal:condition="python:here.checkPermission('edit') or here.checkPermission('admin')"> |
<tal:block tal:condition="python:here.checkPermission('edit') or here.checkPermission('admin')"> |
|
|
<h2 class="setTitle" tal:content="here/title"/> |
<h2 class="setTitle"><span tal:replace="here/title" /> <a class="editLink" tal:attributes="href python: '../' + here.id">| return to set</a></h2> |
|
|
<i tal:condition="python: |
<i tal:condition="python: |
currentBasket and (here.title == currentBasket.title)">- This is the active set -</i> |
currentBasket and (here.title == currentBasket.title)">- This is the active set -</i> |
<h4>Edit the set description:</h4> |
<h4>Edit the set description:</h4> |
Line 100 td.vario { background-color:#AC1D15 }
|
Line 101 td.vario { background-color:#AC1D15 }
|
<textarea class="setItemComment" rows="3" |
<textarea class="setItemComment" rows="3" |
tal:attributes="name python:item.getId()+'_comment'" |
tal:attributes="name python:item.getId()+'_comment'" |
tal:content="structure item/comment"></textarea> |
tal:content="structure item/comment"></textarea> |
<div> <!-- change position / delete --> |
<div> <!-- move / update file / save / delete --> |
<div style="float:right"> |
<div style="float:right"> |
|
<a class="editLink" |
|
tal:condition="python:item.meta_type=='BasketFile'" |
|
tal:attributes="href python:item.absolute_url()+'/upDateFile'">update file</a> |
|
<span tal:condition="python:item.meta_type=='BasketFile'" tal:replace="python:' - '" /> |
<script type="text/javascript"> |
<script type="text/javascript"> |
<!-- |
<!-- |
document.write('<a class="editLink"' + |
document.write('<a class="editLink" style="cursor:pointer"' + |
'onClick="forms.changeSetContents.submit();">save<' + '/a> - '); |
'onClick="forms.changeSetContents.submit();">save<' + '/a> - '); |
// --> |
// --> |
</script> |
</script> |
Line 113 td.vario { background-color:#AC1D15 }
|
Line 118 td.vario { background-color:#AC1D15 }
|
</noscript> |
</noscript> |
<a tal:attributes="class python:'editLink'; |
<a tal:attributes="class python:'editLink'; |
href python:'deleteObject?id=%s'%item.getId()" |
href python:'deleteObject?id=%s'%item.getId()" |
onclick="return window.confirm('Do you really want to remove this item?\nThis is not undoable.')" >delete</a> |
onclick="return window.confirm( |
|
'Do you really want to remove this item?\nThis is not undoable.')" >delete</a> |
</div> |
</div> |
move item: <a tal:attributes="class python:'editLink'; |
move item: <a tal:attributes="class python:'editLink'; |
href python:'moveTop?id=%s'%item.getId()">top</a> |
href python:'moveTop?id=%s'%item.getId()">top</a> |
Line 124 td.vario { background-color:#AC1D15 }
|
Line 130 td.vario { background-color:#AC1D15 }
|
<a tal:attributes="class python:'editLink'; |
<a tal:attributes="class python:'editLink'; |
href python:'moveBottom?id=%s'%item.getId()">bottom</a> |
href python:'moveBottom?id=%s'%item.getId()">bottom</a> |
|
|
<br> |
|
|
</div><br> |
<div class="seperator"> </div> |
<div class="seperator"> </div> |
</div> |
</div> |
|
</form> |
|
<br> |
<a tal:attributes="href python: '../' + here.id">return to set</a> |
<a tal:attributes="href python: '../' + here.id">return to set</a> |
|
|
|
|
<div tal:condition="python:item.meta_type=='BasketFile'"> |
|
<a tal:attributes="href python:item.absolute_url()+'/upDateFile'">update file</a> |
|
</div> |
|
<div tal:replace="structure item/content_html"/> |
|
<div tal:condition="python:getattr(item,'link',None) is not None"> |
|
Link (url):<input type="text" size="40" tal:attributes="name python:item.getId()+'_link'; |
|
value python:getattr(item,'link',None)"><br> |
|
Linktext:<input type="text" size="40" tal:attributes="name python:item.getId()+'_linkText'; |
|
value python:getattr(item,'linkText',None)"><br> |
|
|
|
</div> |
|
|
|
<div><textarea cols="50" rows="5" tal:attributes="name python:item.getId()+'_comment'" tal:content="structure item/comment"></textarea> |
|
</div> |
|
<input type="submit" value="change"> |
|
</div> |
|
|
|
</tal:block> |
</tal:block> |
</tal:block> |
</tal:block> |
|
|