summaryrefslogtreecommitdiffstats
path: root/extensions/Voting/template/en
diff options
context:
space:
mode:
authorDavid Lawrence <dlawrence@mozilla.com>2011-06-24 20:49:07 +0200
committerDavid Lawrence <dlawrence@mozilla.com>2011-06-24 20:49:07 +0200
commitcf489fc6fbec4cb2228e3dbc5af9ef98667a93d0 (patch)
treef10bb59d0032632fc021460b432a1f3e33488d77 /extensions/Voting/template/en
parentc85e69a7f8de9a80b0eb76a1f3e987f68379d82c (diff)
downloadbugzilla-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/en')
-rw-r--r--extensions/Voting/template/en/default/pages/voting/user.html.tmpl11
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 &rarr;
- [%- END %]</td>
+ <td>
+ [% IF bug.id == this_bug.id && canedit %]
+ [% IF product.onevoteonly %]
+ Vote For This [% terms.Bug %] &rarr;
+ [% ELSE %]
+ Enter Votes Here &rarr;
+ [% END %]
+ [%- END %]
+ </td>
<td align="right"><a name="vote_[% bug.id %]">
[% IF canedit %]
[% IF product.onevoteonly %]