summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--template/en/default/bug/votes/list-for-user.html.tmpl19
1 files changed, 16 insertions, 3 deletions
diff --git a/template/en/default/bug/votes/list-for-user.html.tmpl b/template/en/default/bug/votes/list-for-user.html.tmpl
index 5f442e0bc..0c1e30e6e 100644
--- a/template/en/default/bug/votes/list-for-user.html.tmpl
+++ b/template/en/default/bug/votes/list-for-user.html.tmpl
@@ -47,7 +47,14 @@
<th>Votes</th>
</tr>
+ [% onevoteproduct = 0 %]
+ [% multivoteproduct = 0 %]
[% FOREACH product = products %]
+ [% IF product.onevoteonly %]
+ [% onevoteproduct = 1 %]
+ [% ELSE %]
+ [% multivoteproduct = 1 %]
+ [% END %]
<tr>
<th>[% product.name FILTER html %]</th>
<td></td>
@@ -109,9 +116,15 @@
<input type="submit" value="Change My Votes">
<br>
<br>
- To change your votes, type in new numbers (using zero to
- mean no votes) or change the checkbox, and then click
- <b>Change My Votes</b>.
+ To change your votes,
+ [% IF multivoteproduct %]
+ type in new numbers (using zero to mean no votes)
+ [% " or " IF onevoteproduct %]
+ [% END %]
+ [% IF onevoteproduct %]
+ change the checkbox
+ [% END %]
+ and then click <b>Change My Votes</b>.
[% END %]
</form>
[% ELSE %]