[Erp5-report] r26155 - in /erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style: SkinTemplat...

nobody at svn.erp5.org nobody at svn.erp5.org
Wed Mar 25 14:18:11 CET 2009


Author: fabien
Date: Wed Mar 25 14:18:09 2009
New Revision: 26155

URL: http://svn.erp5.org?rev=26155&view=rev
Log:
the condition was bad : display links only if there is a list action. If there is no list action, text is displayed but witout the <a> markup.

Modified:
    erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/ListBox_asSearchStyleHTML.xml
    erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/bt/revision

Modified: erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/ListBox_asSearchStyleHTML.xml
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/ListBox_asSearchStyleHTML.xml?rev=26155&r1=26154&r2=26155&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/ListBox_asSearchStyleHTML.xml [utf8] (original)
+++ erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/ListBox_asSearchStyleHTML.xml [utf8] Wed Mar 25 14:18:09 2009
@@ -164,11 +164,11 @@
                   </button>\n
 \n
                   <a tal:attributes="id string:${field_id}_title; href here/getListActionUrl"\n
-                     tal:condition="python: here.field.get_value(\'list_action\') != \'list\'">\n
+                     tal:condition="python: here.field.get_value(\'list_action\')">\n
                     <em i18n:translate="" \n
                         i18n:domain="ui" tal:content="here/getTitle" tal:condition="here/getTitle"/>\n
                   </a>\n
-                  <tal:block tal:condition="python: here.field.get_value(\'list_action\') == \'list\'">\n
+                  <tal:block tal:condition="python: not here.field.get_value(\'list_action\')">\n
                     <em i18n:translate="" \n
                         i18n:domain="ui" tal:content="here/getTitle" tal:condition="here/getTitle"/>\n
                   </tal:block>\n

Modified: erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/bt/revision
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/bt/revision?rev=26155&r1=26154&r2=26155&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/bt/revision [utf8] (original)
+++ erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/bt/revision [utf8] Wed Mar 25 14:18:09 2009
@@ -1,1 +1,1 @@
-671
+672




More information about the Erp5-report mailing list