diff options
author | Frédéric Buclin <LpSolit@gmail.com> | 2013-09-28 00:37:03 +0200 |
---|---|---|
committer | Frédéric Buclin <LpSolit@gmail.com> | 2013-09-28 00:37:03 +0200 |
commit | 48bc6d3981dfedf1183a76f2ccc17d8889edaa56 (patch) | |
tree | 0c938bcb0ac1b62ea4db658c727fa5d0b6d51145 /extensions/Voting/template/en/default/pages/voting | |
parent | 5d0e6171ebce1410aedb378aa64e65abbcf916eb (diff) | |
download | bugzilla-48bc6d3981dfedf1183a76f2ccc17d8889edaa56.tar.gz bugzilla-48bc6d3981dfedf1183a76f2ccc17d8889edaa56.tar.xz |
Bug 851267: Bugzilla times out when a user has several thousands of votes
r=dkl a=justdave
Diffstat (limited to 'extensions/Voting/template/en/default/pages/voting')
-rw-r--r-- | extensions/Voting/template/en/default/pages/voting/user.html.tmpl | 19 |
1 files changed, 9 insertions, 10 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 b1cf53a85..b08b4c878 100644 --- a/extensions/Voting/template/en/default/pages/voting/user.html.tmpl +++ b/extensions/Voting/template/en/default/pages/voting/user.html.tmpl @@ -85,8 +85,7 @@ </tr> [% FOREACH bug = product.bugs %] - <tr [% IF bug.id == this_bug.id && canedit %] - class="bz_bug_being_voted_on" [% END %]> + <tr [% IF bug.id == this_bug.id && canedit %] class="bz_bug_being_voted_on"[% END %]> <td> [% IF bug.id == this_bug.id && canedit %] [% IF product.onevoteonly %] @@ -96,25 +95,25 @@ [% END %] [%- END %] </td> - <td align="right"><a name="vote_[% bug.id FILTER html %]"> + <td align="right"><a name="vote_[% bug.id FILTER none %]"> [% IF canedit %] [% IF product.onevoteonly %] - <input type="checkbox" name="[% bug.id FILTER html %]" value="1" - [% " checked" IF bug.count %] id="bug_[% bug.id FILTER html %]"> + <input type="checkbox" name="[% bug.id FILTER none %]" value="1" + [% " checked" IF bug.count %] id="bug_[% bug.id FILTER none %]"> [% ELSE %] - <input name="[% bug.id FILTER html %]" value="[% bug.count FILTER html %]" - size="2" id="bug_[% bug.id FILTER html %]"> + <input name="[% bug.id FILTER none %]" value="[% bug.count FILTER html %]" + size="2" id="bug_[% bug.id FILTER none %]"> [% END %] [% ELSE %] [% bug.count FILTER html %] [% END %] </a></td> <td align="center"> - [% bug.id FILTER bug_link(bug.id) FILTER none %] + [% PROCESS bug/link.html.tmpl bug = bug, link_text = bug.id %] </td> <td> - [% bug.summary FILTER html %] - (<a href="page.cgi?id=voting/bug.html&bug_id=[% bug.id FILTER uri %]">Show Votes</a>) + [% bug.short_desc FILTER html %] + (<a href="page.cgi?id=voting/bug.html&bug_id=[% bug.id FILTER none %]">Show Votes</a>) </td> </tr> [% END %] |