]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 652444 - Voting for bugs where the product allows only one vote per bug but that...
authorDavid Lawrence <dlawrence@mozilla.com>
Fri, 24 Jun 2011 18:49:07 +0000 (14:49 -0400)
committerDavid Lawrence <dlawrence@mozilla.com>
Fri, 24 Jun 2011 18:49:07 +0000 (14:49 -0400)
r/a=LpSolit

extensions/Voting/template/en/default/pages/voting/user.html.tmpl

index dbceaf2174daec7a65b09e3d7423842d9969ff5c..8e886efe7bbd564894ac34eaeebea51120164b3d 100644 (file)
         [% 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 %]