From 48bc6d3981dfedf1183a76f2ccc17d8889edaa56 Mon Sep 17 00:00:00 2001 From: Frédéric Buclin Date: Sat, 28 Sep 2013 00:37:03 +0200 Subject: Bug 851267: Bugzilla times out when a user has several thousands of votes r=dkl a=justdave --- .../template/en/default/pages/voting/user.html.tmpl | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) (limited to 'extensions/Voting/template') 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 @@ [% FOREACH bug = product.bugs %] - + [% IF bug.id == this_bug.id && canedit %] [% IF product.onevoteonly %] @@ -96,25 +95,25 @@ [% END %] [%- END %] - + [% IF canedit %] [% IF product.onevoteonly %] - + [% ELSE %] - + [% END %] [% ELSE %] [% bug.count FILTER html %] [% END %] - [% bug.id FILTER bug_link(bug.id) FILTER none %] + [% PROCESS bug/link.html.tmpl bug = bug, link_text = bug.id %] - [% bug.summary FILTER html %] - (Show Votes) + [% bug.short_desc FILTER html %] + (Show Votes) [% END %] -- cgit v1.2.3-24-g4f1b