From 1941de37c0f7e49069fee49cfebcaa842a58c420 Mon Sep 17 00:00:00 2001 From: Dave Lawrence Date: Mon, 30 Sep 2013 16:01:18 -0400 Subject: Bug 922246 - backport upstream bug 851267 to bmo/4.2 for performance improvement with large number of votes --- .../template/en/default/pages/voting/user.html.tmpl | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) (limited to 'extensions/Voting/template/en/default/pages/voting') 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 18221bda1..627011fd4 100644 --- a/extensions/Voting/template/en/default/pages/voting/user.html.tmpl +++ b/extensions/Voting/template/en/default/pages/voting/user.html.tmpl @@ -109,8 +109,7 @@ [% FOREACH bug = product.bugs %] - + [% IF bug.id == this_bug.id && canedit %] [% IF product.onevoteonly %] @@ -120,25 +119,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