[Erp5-report] r38166 ivan - in /erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style: SkinTe...

nobody at svn.erp5.org nobody at svn.erp5.org
Tue Sep 7 12:35:34 CEST 2010


Author: ivan
Date: Tue Sep  7 12:35:33 2010
New Revision: 38166

URL: http://svn.erp5.org?rev=38166&view=rev
Log:
Assign CSS class to listbox title being it a non link.

Modified:
    erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/ListBox_asHTMLLibrary.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_asHTMLLibrary.xml
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/ListBox_asHTMLLibrary.xml?rev=38166&r1=38165&r2=38166&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/ListBox_asHTMLLibrary.xml [utf8] (original)
+++ erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/ListBox_asHTMLLibrary.xml [utf8] Tue Sep  7 12:35:33 2010
@@ -152,16 +152,19 @@
 \n
 <!-- Listbox title -->\n
 <div class="listbox-title"\n
-     metal:define-macro="listbox_title">\n
+     metal:define-macro="listbox_title"\n
+     tal:define="class string:${field_id}_title;">\n
 \n
   <a tal:condition="show_list_action_link"\n
-     tal:attributes="class string:${field_id}_title; \n
-                    href here/getListActionUrl">\n
+     tal:attributes="class class; \n
+                     href here/getListActionUrl">\n
     <span i18n:translate="" \n
           i18n:domain="ui" tal:content="here/getTitle" /></a>\n
   <tal:block tal:condition="not: show_list_action_link">\n
     <span i18n:translate="" \n
-          i18n:domain="ui" tal:content="here/getTitle" />\n
+          i18n:domain="ui"\n
+          tal:attributes="class class"\n
+          tal:content="here/getTitle" />\n
   </tal:block>\n
   <tal:block tal:condition="not: is_web_mode">:</tal:block>\n
 \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=38166&r1=38165&r2=38166&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] Tue Sep  7 12:35:33 2010
@@ -1 +1 @@
-988
\ No newline at end of file
+990
\ No newline at end of file




More information about the Erp5-report mailing list