[Erp5-report] r8800 - /erp5/trunk/products/ERP5Form/ListBox.py

nobody at svn.erp5.org nobody at svn.erp5.org
Wed Jul 26 15:17:45 CEST 2006


Author: yo
Date: Wed Jul 26 15:17:43 2006
New Revision: 8800

URL: http://svn.erp5.org?rev=8800&view=rev
Log:
Use error instead of warning for the CSS class, when an error message is displayed.

Modified:
    erp5/trunk/products/ERP5Form/ListBox.py

Modified: erp5/trunk/products/ERP5Form/ListBox.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5Form/ListBox.py?rev=8800&r1=8799&r2=8800&view=diff
==============================================================================
--- erp5/trunk/products/ERP5Form/ListBox.py (original)
+++ erp5/trunk/products/ERP5Form/ListBox.py Wed Jul 26 15:17:43 2006
@@ -1973,7 +1973,7 @@
           else:
             html = u'<a href="%s">%s</a>' % (url, cell_html)
           if error_message not in ('', None):
-            html += u' <span class="warning">%s</span>' % error_message
+            html += u' <span class="error">%s</span>' % error_message
       else:
         # If not editable, show a static text with a link, if enabled.
         processed_value = cgi.escape(processed_value)




More information about the Erp5-report mailing list