From 50d2c3150512323bbbbc0801ab79b06a13dd716d Mon Sep 17 00:00:00 2001 From: "lpsolit%gmail.com" <> Date: Sun, 3 Feb 2008 17:37:20 +0000 Subject: Bug 378797: Ability to turn "My votes" page into a bug list - Patch by GavinS r/a=LpSolit --- template/en/default/bug/votes/list-for-user.html.tmpl | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) (limited to 'template/en/default') diff --git a/template/en/default/bug/votes/list-for-user.html.tmpl b/template/en/default/bug/votes/list-for-user.html.tmpl index 7328b2d77..50dff7d5e 100644 --- a/template/en/default/bug/votes/list-for-user.html.tmpl +++ b/template/en/default/bug/votes/list-for-user.html.tmpl @@ -25,6 +25,7 @@ # voting: # name: name of product # bugs: list of bugs the user has voted for + # bug_ids: list of bug ids the user has voted for # onevoteonly: one or more votes allowed per bug? # total: users current vote count for the product # maxvotes: max votes allowed for a user in this product @@ -33,6 +34,8 @@ # bug_id: number; if the user is voting for a bug, this is the bug id # # canedit: boolean; Should the votes be presented in a form, or readonly? + # + # all_bug_ids: List of all bug ids the user has voted for, across all products #%] [% PROCESS global/variables.none.tmpl %] @@ -89,7 +92,10 @@ [% END %] [% product.name FILTER html %] - + ([% terms.bug %] list) + + [% IF product.maxperbug < product.maxvotes AND product.maxperbug > 1 %] @@ -142,7 +148,9 @@ [% IF canedit %] - + or + view all + as [% terms.bug %] list

To change your votes, @@ -154,6 +162,9 @@ change the checkbox [% END %] and then click Change My Votes. + [% ELSE %] + View all + as [% terms.bug %] list [% END %] [% ELSE %] -- cgit v1.2.3-24-g4f1b