[Erp5-report] r10321 - in /erp5/trunk/bt5/erp5_html_style: SkinTemplateItem/portal_skins/er...
nobody at svn.erp5.org
nobody at svn.erp5.org
Tue Sep 26 12:04:55 CEST 2006
Author: alex
Date: Tue Sep 26 12:04:53 2006
New Revision: 10321
URL: http://svn.erp5.org?rev=10321&view=rev
Log:
2006-09-26 Alex
* applied erp5_xhtml_style's patch for application of the css class attribute to the field title
Modified:
erp5/trunk/bt5/erp5_html_style/SkinTemplateItem/portal_skins/erp5_html_style/field_render.xml
erp5/trunk/bt5/erp5_html_style/bt/change_log
erp5/trunk/bt5/erp5_html_style/bt/revision
Modified: erp5/trunk/bt5/erp5_html_style/SkinTemplateItem/portal_skins/erp5_html_style/field_render.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_html_style/SkinTemplateItem/portal_skins/erp5_html_style/field_render.xml?rev=10321&r1=10320&r2=10321&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_html_style/SkinTemplateItem/portal_skins/erp5_html_style/field_render.xml (original)
+++ erp5/trunk/bt5/erp5_html_style/SkinTemplateItem/portal_skins/erp5_html_style/field_render.xml Tue Sep 26 12:04:53 2006
@@ -61,9 +61,7 @@
<tal:repeat repeat="html_tuple html_render">\n
<tr tal:attributes="title python: context.Localizer.translate(\'erp5_ui\', context.Base_getFieldDescription(field))">\n
<td tal:content="structure python: html_tuple[0]"\n
- tal:attributes="class python: \n
- {0: {0: None, 1: \'required\'},\n
- 1: {0: \'error\', 1: \'reqerror\'}}[field_errors.has_key(field.id)][field.is_required()]"\n
+ tal:attributes="class python: \' \'.join([x for x in [\'field\', field.is_required() and \'required\' or None, field_errors.has_key(field.id) and \'error\' or None, field.get_value(\'css_class\') or None] if x is not None])"\n
i18n:translate="" i18n:domain="ui" />\n
<td>\n
<tal:block metal:use-macro="context/form_developper_buttons/macros/field"/>\n
Modified: erp5/trunk/bt5/erp5_html_style/bt/change_log
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_html_style/bt/change_log?rev=10321&r1=10320&r2=10321&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_html_style/bt/change_log (original)
+++ erp5/trunk/bt5/erp5_html_style/bt/change_log Tue Sep 26 12:04:53 2006
@@ -1,3 +1,6 @@
+2006-09-26 Alex
+* applied erp5_xhtml_style's patch for application of the css class attribute to the field title
+
2006-07-19 Kevin
* Add support of HTML Report in list_mode (similar to history tab, but in list_mode).
Modified: erp5/trunk/bt5/erp5_html_style/bt/revision
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_html_style/bt/revision?rev=10321&r1=10320&r2=10321&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_html_style/bt/revision (original)
+++ erp5/trunk/bt5/erp5_html_style/bt/revision Tue Sep 26 12:04:53 2006
@@ -1,1 +1,1 @@
-9
+13
More information about the Erp5-report
mailing list