Commit 490015de authored by Yoshinori Okuji's avatar Yoshinori Okuji

Use error instead of warning for the CSS class, when an error message is displayed.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@8800 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent a3a75483
......@@ -1973,7 +1973,7 @@ class ListBoxHTMLRendererLine(ListBoxRendererLine):
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)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment