From: David Lawrence Date: Fri, 24 Jun 2011 18:49:07 +0000 (-0400) Subject: Bug 652444 - Voting for bugs where the product allows only one vote per bug but that... X-Git-Tag: bugzilla-4.1.3~51 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cf489fc6fbec4cb2228e3dbc5af9ef98667a93d0;p=thirdparty%2Fbugzilla.git 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 --- 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 dbceaf2174..8e886efe7b 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 %]