[Erp5-report] r6886 - /erp5/trunk/products/ERP5/bootstrap/erp5_html_style/SkinTemplateItem/...

nobody at svn.erp5.org nobody at svn.erp5.org
Mon Apr 24 14:18:25 CEST 2006


Author: vincent
Date: Mon Apr 24 14:18:24 2006
New Revision: 6886

URL: http://svn.erp5.org?rev=6886&view=rev
Log:
Factorize code.
Add contextual help.

Modified:
    erp5/trunk/products/ERP5/bootstrap/erp5_html_style/SkinTemplateItem/portal_skins/erp5_html_style/view_selection_box.xml

Modified: erp5/trunk/products/ERP5/bootstrap/erp5_html_style/SkinTemplateItem/portal_skins/erp5_html_style/view_selection_box.xml
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/bootstrap/erp5_html_style/SkinTemplateItem/portal_skins/erp5_html_style/view_selection_box.xml?rev=6886&r1=6885&r2=6886&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/bootstrap/erp5_html_style/SkinTemplateItem/portal_skins/erp5_html_style/view_selection_box.xml (original)
+++ erp5/trunk/products/ERP5/bootstrap/erp5_html_style/SkinTemplateItem/portal_skins/erp5_html_style/view_selection_box.xml Mon Apr 24 14:18:24 2006
@@ -158,23 +158,15 @@
              alt="spacer" tal:attributes="src string:$portal_url/images/spacer.png"/>\n
            </td>\n
           </tal:block>\n
-          <td nowrap class="On" align="center" valign="bottom"\n
-             tal:condition="is_action_selected"\n
+          <td nowrap align="center" valign="bottom"\n
+             tal:attributes="class python: is_action_selected and \'On\' or \'Off\'"\n
              tal:define="url action/url">\n
            <a tal:content="action/name" href="toto"\n
              i18n:translate="" i18n:domain="ui"\n
              tal:attributes="href python:url + (\'?\' in url and \'&\' or \'?\') + \'selection_index=%s&selection_name=%s&ignore_layout:int=%s\' % (selection_index, selection_name, ignore_layout);" >\n
             Info.G&eacute;n&eacute;rales\n
            </a>\n
-          </td>\n
-          <td  nowrap class="Off" valign="bottom" align="center"\n
-             tal:condition="not:is_action_selected"\n
-             tal:define="url action/url">\n
-           <a tal:content="action/name" href="toto"\n
-             i18n:translate="" i18n:domain="ui"\n
-             tal:attributes="href python:url + (\'?\' in url and \'&\' or \'?\') + \'selection_index=%s&selection_name=%s&ignore_layout:int=%s\' % (selection_index, selection_name, ignore_layout);" >\n
-            Info.G&eacute;n&eacute;rales\n
-           </a>\n
+           <tal:block metal:use-macro="context/form_developper_buttons/macros/tab"/>\n
           </td>\n
           <tal:block tal:condition="is_action_selected">\n
            <td valign="bottom" width="17"\n




More information about the Erp5-report mailing list