[Erp5-report] r9989 - /erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem...
nobody at svn.erp5.org
nobody at svn.erp5.org
Fri Sep 15 13:47:42 CEST 2006
Author: vincent
Date: Fri Sep 15 13:47:40 2006
New Revision: 9989
URL: http://svn.erp5.org?rev=9989&view=rev
Log:
Fix bug #481.
Modified:
erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/erp5.css.xml
erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/field_render.xml
Modified: erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/erp5.css.xml
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/erp5.css.xml?rev=9989&r1=9988&r2=9989&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/erp5.css.xml (original)
+++ erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/erp5.css.xml Fri Sep 15 13:47:40 2006
@@ -622,9 +622,7 @@
vertical-align: middle;\n
}\n
\n
-.content .field.reqerror label,\n
-.content .field.required label,\n
-.content .field .error {\n
+.content .required label {\n
font-weight: bold;\n
}\n
\n
@@ -633,7 +631,11 @@
color: #f00;\n
}\n
\n
-.content .field.invisible label {\n
+.content .error .input {\n
+ border: 1px solid #F00;\n
+}\n
+\n
+.content .field .invisible label {\n
display: None;\n
}\n
\n
Modified: erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/field_render.xml
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/field_render.xml?rev=9989&r1=9988&r2=9989&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/field_render.xml (original)
+++ erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/field_render.xml Fri Sep 15 13:47:40 2006
@@ -79,8 +79,7 @@
html_render python: field.render_htmlgrid(value, request)">\n
<div tal:repeat="html_tuple html_render"\n
tal:attributes="title python: here.Localizer.translate(\'erp5_ui\', here.Base_getFieldDescription(field));\n
- class python: \'field \' + ({0: {0: None , 1: \'required\'},\n
- 1: {0: \'error\', 1: \'reqerror\'}}[field_errors.has_key(field.id)][field.is_required()] or \'\') + \' \' + (field.get_value(\'css_class\') or \'\')">\n
+ 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
<label>\n
<tal:block tal:content="structure python: html_tuple[0]"\n
i18n:translate="" i18n:domain="ui"/>\n
More information about the Erp5-report
mailing list