summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlpsolit%gmail.com <>2008-08-03 20:28:39 +0200
committerlpsolit%gmail.com <>2008-08-03 20:28:39 +0200
commit3ca61bf7f2a691ba5e08a73f710ec47e8c149dba (patch)
treec5c9fd783369eda56dcf3b4ae42a615ef75bc480
parentbba1224501069c9ceacf25ee3585777fe3844d5d (diff)
downloadbugzilla-3ca61bf7f2a691ba5e08a73f710ec47e8c149dba.tar.gz
bugzilla-3ca61bf7f2a691ba5e08a73f710ec47e8c149dba.tar.xz
Bug 448748: Error messages thrown should have an HTML ID - Patch by Frédéric Buclin <LpSolit@gmail.com> r/a=mkanat
-rw-r--r--skins/standard/global.css4
-rw-r--r--template/en/default/global/user-error.html.tmpl6
2 files changed, 6 insertions, 4 deletions
diff --git a/skins/standard/global.css b/skins/standard/global.css
index a2d99a672..21512c421 100644
--- a/skins/standard/global.css
+++ b/skins/standard/global.css
@@ -287,6 +287,10 @@ table#flags td {
min-width: 3em;
}
+#error_msg {
+ font-size: x-large;
+}
+
.throw_error {
background-color: #ff0000;
color: black;
diff --git a/template/en/default/global/user-error.html.tmpl b/template/en/default/global/user-error.html.tmpl
index fbab7625c..09d40272c 100644
--- a/template/en/default/global/user-error.html.tmpl
+++ b/template/en/default/global/user-error.html.tmpl
@@ -1620,10 +1620,8 @@
<table cellpadding="20">
<tr>
- <td bgcolor="#ff0000">
- <font size="+2">
- [% error_message FILTER none %]
- </font>
+ <td id="error_msg" class="throw_error">
+ [% error_message FILTER none %]
</td>
</tr>
</table>