[Zope-Checkins] CVS: Zope/lib/python/OFS/dtml - main.dtml:1.18.10.4
Yvo Schubbe
schubbe@web.de
Wed, 11 Jun 2003 15:28:35 -0400
Update of /cvs-repository/Zope/lib/python/OFS/dtml
In directory cvs.zope.org:/tmp/cvs-serv6700/OFS/dtml
Modified Files:
Tag: yuppie-ordersupport-branch
main.dtml
Log Message:
simplified ui
- 'Set View as Default' is more basic than 'Apply Current Sorting'
=== Zope/lib/python/OFS/dtml/main.dtml 1.18.10.3 => 1.18.10.4 ===
--- Zope/lib/python/OFS/dtml/main.dtml:1.18.10.3 Wed Apr 30 08:30:35 2003
+++ Zope/lib/python/OFS/dtml/main.dtml Wed Jun 11 15:28:04 2003
@@ -279,11 +279,13 @@
<input class="form-element" type="submit"
name="manage_move_objects_to_bottom:method" value="Bottom" />
</dtml-if>
+ <dtml-unless expr="(skey, rkey and 1 or 0) == getDefaultSorting()">
<input type="hidden" name="key" value="<dtml-var skey>">
<input type="hidden" name="reverse" value="<dtml-var rkey>">
<input class="form-element" type="submit"
- name="manage_apply_sorting:method"
- value="Apply Current Sorting" />
+ name="manage_set_default_sorting:method"
+ value="Set View as Default" />
+ </dtml-unless>
</div>
</td>
</tr>