]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 159996 - bug vote instructions are misleading/confusing
authorbbaetz%student.usyd.edu.au <>
Sat, 10 Aug 2002 15:22:42 +0000 (15:22 +0000)
committerbbaetz%student.usyd.edu.au <>
Sat, 10 Aug 2002 15:22:42 +0000 (15:22 +0000)
r=gerv x2

template/en/default/bug/votes/list-for-user.html.tmpl

index 5f442e0bc449549f677ee392a58adba6a43ae0de..0c1e30e6e464e02001f7d91c3a104bb9c5519935 100644 (file)
         <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>
       <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 %]