diff options
author | David Lawrence <dlawrence@mozilla.com> | 2011-06-24 20:49:07 +0200 |
---|---|---|
committer | David Lawrence <dlawrence@mozilla.com> | 2011-06-24 20:49:07 +0200 |
commit | cf489fc6fbec4cb2228e3dbc5af9ef98667a93d0 (patch) | |
tree | f10bb59d0032632fc021460b432a1f3e33488d77 /extensions/Voting/template | |
parent | c85e69a7f8de9a80b0eb76a1f3e987f68379d82c (diff) | |
download | bugzilla-cf489fc6fbec4cb2228e3dbc5af9ef98667a93d0.tar.gz bugzilla-cf489fc6fbec4cb2228e3dbc5af9ef98667a93d0.tar.xz |
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
Diffstat (limited to 'extensions/Voting/template')
-rw-r--r-- | extensions/Voting/template/en/default/pages/voting/user.html.tmpl | 11 |
1 files changed, 9 insertions, 2 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 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 %] <tr [% IF bug.id == this_bug.id && canedit %] class="bz_bug_being_voted_on" [% END %]> - <td>[% IF bug.id == this_bug.id && canedit %]Enter New Vote here → - [%- END %]</td> + <td> + [% IF bug.id == this_bug.id && canedit %] + [% IF product.onevoteonly %] + Vote For This [% terms.Bug %] → + [% ELSE %] + Enter Votes Here → + [% END %] + [%- END %] + </td> <td align="right"><a name="vote_[% bug.id %]"> [% IF canedit %] [% IF product.onevoteonly %] |