From cf489fc6fbec4cb2228e3dbc5af9ef98667a93d0 Mon Sep 17 00:00:00 2001 From: David Lawrence Date: Fri, 24 Jun 2011 14:49:07 -0400 Subject: Bug 652444 - Voting for bugs where the product allows only one vote per bug but that isn't clear in the voting form or help r/a=LpSolit --- .../Voting/template/en/default/pages/voting/user.html.tmpl | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'extensions') 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 dbceaf217..8e886efe7 100644 --- a/extensions/Voting/template/en/default/pages/voting/user.html.tmpl +++ b/extensions/Voting/template/en/default/pages/voting/user.html.tmpl @@ -111,8 +111,15 @@ [% FOREACH bug = product.bugs %] - [% IF bug.id == this_bug.id && canedit %]Enter New Vote here → - [%- END %] + + [% IF bug.id == this_bug.id && canedit %] + [% IF product.onevoteonly %] + Vote For This [% terms.Bug %] → + [% ELSE %] + Enter Votes Here → + [% END %] + [%- END %] + [% IF canedit %] [% IF product.onevoteonly %] -- cgit v1.2.3-24-g4f1b