summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlpsolit%gmail.com <>2006-12-28 09:43:15 +0100
committerlpsolit%gmail.com <>2006-12-28 09:43:15 +0100
commite17a0edb7aea89b20bff86173f31d6d5f38cf2b3 (patch)
tree900a098ff90c41436f350b55ac947f84611f5bef
parent7205db47e4fb792e7478b4587f8e86b7471a99bf (diff)
downloadbugzilla-e17a0edb7aea89b20bff86173f31d6d5f38cf2b3.tar.gz
bugzilla-e17a0edb7aea89b20bff86173f31d6d5f38cf2b3.tar.xz
Bug 365122: Success messages in userprefs.cgi shouldn't be red - Patch by Frédéric Buclin <LpSolit@gmail.com> r=Colin a=justdave
-rw-r--r--skins/standard/global.css2
-rw-r--r--template/en/default/account/prefs/prefs.html.tmpl22
2 files changed, 11 insertions, 13 deletions
diff --git a/skins/standard/global.css b/skins/standard/global.css
index 4d66f0e7f..b85a9e277 100644
--- a/skins/standard/global.css
+++ b/skins/standard/global.css
@@ -58,7 +58,7 @@
#message {
border: 1px solid red;
-
+ margin: 0.3em 0em;
padding: 0.3em;
color: green;
}
diff --git a/template/en/default/account/prefs/prefs.html.tmpl b/template/en/default/account/prefs/prefs.html.tmpl
index bdab65e42..5f163a899 100644
--- a/template/en/default/account/prefs/prefs.html.tmpl
+++ b/template/en/default/account/prefs/prefs.html.tmpl
@@ -67,18 +67,16 @@
%]
[% IF changes_saved %]
- <p>
- <font color="red">
- The changes to your
- [% current_tab.label FILTER lower %] have been saved.
- </font>
- </p>
- [% IF email_changes_saved %]
- <p>
- An email has been sent to both old and new email
- addresses to confirm the change of email address.
- </p>
- [% END %]
+ <div id="message">
+ The changes to your [% current_tab.label FILTER lower %] have been saved.
+
+ [% IF email_changes_saved %]
+ <p>
+ An email has been sent to both old and new email
+ addresses to confirm the change of email address.
+ </p>
+ [% END %]
+ </div>
[% END %]
<h3>[% current_tab.label %]</h3>