[Erp5-report] r10741 - /erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateIte...
nobody at svn.erp5.org
nobody at svn.erp5.org
Mon Oct 16 14:23:03 CEST 2006
Author: vincent
Date: Mon Oct 16 14:23:01 2006
New Revision: 10741
URL: http://svn.erp5.org?rev=10741&view=rev
Log:
Factorise getSelection call.
Modified:
erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/context_box_render.xml
Modified: erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/context_box_render.xml
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/context_box_render.xml?rev=10741&r1=10740&r2=10741&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/context_box_render.xml (original)
+++ erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/context_box_render.xml Mon Oct 16 14:23:01 2006
@@ -260,7 +260,8 @@
<span class="description" i18n:translate="" i18n:domain="ui">Show All</span>\n
</button>\n
<button type="submit" name="Folder_filter:method" title="Filter"\n
- tal:attributes="class python:(here.portal_selections.getSelectionFor(selection_name) is not None and here.portal_selections.getSelectionFor(selection_name).isInvertMode()) and \'filter_on\' or \'filter\';"\n
+ tal:define="selection python: here.portal_selections.getSelectionFor(request[\'selection_name\'])"\n
+ tal:attributes="class python:(selection is not None and selection.isInvertMode()) and \'filter_on\' or \'filter\';"\n
i18n:attributes="title" i18n:domain="ui">\n
<span class="image"></span>\n
<span class="description" i18n:translate="" i18n:domain="ui">Filter</span>\n
More information about the Erp5-report
mailing list