Commit 6b18bbf4 authored by Vincent Pelletier's avatar Vincent Pelletier

Factorise getSelection call.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@10741 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 992f7f57
...@@ -260,7 +260,8 @@ XXX: Folder_filter accesses selection directly\n ...@@ -260,7 +260,8 @@ XXX: Folder_filter accesses selection directly\n
<span class="description" i18n:translate="" i18n:domain="ui">Show All</span>\n <span class="description" i18n:translate="" i18n:domain="ui">Show All</span>\n
</button>\n </button>\n
<button type="submit" name="Folder_filter:method" title="Filter"\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 i18n:attributes="title" i18n:domain="ui">\n
<span class="image"></span>\n <span class="image"></span>\n
<span class="description" i18n:translate="" i18n:domain="ui">Filter</span>\n <span class="description" i18n:translate="" i18n:domain="ui">Filter</span>\n
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment