From 6b76c8f70b4d56ed5b63db10511b6a808ebe3e70 Mon Sep 17 00:00:00 2001 From: Nikhil Handa Date: Wed, 27 Apr 2016 15:41:20 +0000 Subject: Bug 1235514 - Change color of note regarding changed votes --- .../Voting/template/en/default/pages/voting/user.html.tmpl | 14 ++++++-------- extensions/Voting/web/style.css | 8 ++++++-- 2 files changed, 12 insertions(+), 10 deletions(-) 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 627011fd4..26b0e7989 100644 --- a/extensions/Voting/template/en/default/pages/voting/user.html.tmpl +++ b/extensions/Voting/template/en/default/pages/voting/user.html.tmpl @@ -22,7 +22,7 @@ # voting_user: hash containing a 'login' field # # products: list of hashes containing details of products relating to - # voting: + # voting: # name: name of product # bugs: list of bugs the user has voted for # bug_ids: list of bug ids the user has voted for @@ -33,7 +33,7 @@ # # this_bug: Bugzilla::Bug; if the user is voting for a bug, this is the bug # - # canedit: boolean; Should the votes be presented in a form, or readonly? + # canedit: boolean; Should the votes be presented in a form, or readonly? # # all_bug_ids: List of all bug ids the user has voted for, across all products #%] @@ -45,7 +45,7 @@ [% IF canedit %] [% title = "Change Votes" %] [% IF this_bug %] - [%# We .select and .focus the input so it works for textbox and + [%# We .select and .focus the input so it works for textbox and checkbox %] [% onload = "document.forms['voting_form'].bug_" _ this_bug.id _ ".select();document.forms['voting_form'].bug_" _ this_bug.id _ @@ -55,17 +55,15 @@ [% title = "Show Votes" %] [% END %] [% PROCESS global/header.html.tmpl - style_urls = [ "extensions/Voting/web/style.css" ] + style_urls = [ "extensions/Voting/web/style.css" ] %] [% ELSE %]
[% END %] [% IF votes_recorded %] -

- +

The changes to your votes have been saved. -

[% ELSE %]
@@ -155,7 +153,7 @@ [% IF canedit %] - or + or view all as [% terms.bug %] list
diff --git a/extensions/Voting/web/style.css b/extensions/Voting/web/style.css index c2b934e37..c75487010 100644 --- a/extensions/Voting/web/style.css +++ b/extensions/Voting/web/style.css @@ -23,6 +23,10 @@ tr.bz_bug_being_voted_on td { border-width: thin; } -#votes_container { - white-space: nowrap; +#votes_container { + white-space: nowrap; +} + +p.votes_change_saved { + color: green; } -- cgit v1.2.3-24-g4f1b