summaryrefslogtreecommitdiffstats
path: root/extensions/Voting/template/en/default
diff options
context:
space:
mode:
authorSunil Joshi <joshi_sunil@in.com>2012-12-14 15:55:23 +0100
committerFrédéric Buclin <LpSolit@gmail.com>2012-12-14 15:55:23 +0100
commit8f77358eaedb89041ea95940d46fa9fb5d1fe949 (patch)
tree8bac249901fcc31e6ebee743d32e2257a35762a4 /extensions/Voting/template/en/default
parentb80c2dd4385fec54b1541bd340a98a936d3a9a9e (diff)
downloadbugzilla-8f77358eaedb89041ea95940d46fa9fb5d1fe949.tar.gz
bugzilla-8f77358eaedb89041ea95940d46fa9fb5d1fe949.tar.xz
Bug 780675: Display "The changes to your votes have been saved" in green instead of red
r/a=LpSolit
Diffstat (limited to 'extensions/Voting/template/en/default')
-rw-r--r--extensions/Voting/template/en/default/hook/global/messages-messages.html.tmpl16
-rw-r--r--extensions/Voting/template/en/default/pages/voting/user.html.tmpl10
2 files changed, 16 insertions, 10 deletions
diff --git a/extensions/Voting/template/en/default/hook/global/messages-messages.html.tmpl b/extensions/Voting/template/en/default/hook/global/messages-messages.html.tmpl
new file mode 100644
index 000000000..74a2d937a
--- /dev/null
+++ b/extensions/Voting/template/en/default/hook/global/messages-messages.html.tmpl
@@ -0,0 +1,16 @@
+[%# This Source Code Form is subject to th e terms of the Mozilla Public
+ # License, v. 2.0. If a copy of the MPL was not distributed with this
+ # file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ #
+ # This Source Code Form is "Incompatible With Secondary Licenses", as
+ # defined by the Mozilla Public License, v. 2.0.
+ #%]
+
+[%# This is a list of all the possible messages. Please keep them in
+ # alphabetical order by message tag, and leave a blank line between messages.
+ #%]
+
+[% IF message_tag == "votes_recorded" %]
+ The changes to your votes have been saved.
+[% END %]
+
diff --git a/extensions/Voting/template/en/default/pages/voting/user.html.tmpl b/extensions/Voting/template/en/default/pages/voting/user.html.tmpl
index 6705b9c37..b1cf53a85 100644
--- a/extensions/Voting/template/en/default/pages/voting/user.html.tmpl
+++ b/extensions/Voting/template/en/default/pages/voting/user.html.tmpl
@@ -47,16 +47,6 @@
<hr>
[% END %]
-[% IF votes_recorded %]
- <p>
- <font color="red">
- The changes to your votes have been saved.
- </font>
- </p>
-[% ELSE %]
- <br>
-[% END %]
-
[% IF products.size %]
<form name="voting_form" method="post" action="page.cgi?id=voting/user.html">
<input type="hidden" name="action" value="vote">