From d5ddb4373679d584ffa5524c854ce5fa3261cee8 Mon Sep 17 00:00:00 2001 From: "lpsolit%gmail.com" <> Date: Sun, 9 Aug 2009 20:17:44 +0000 Subject: Bug 365259: The "Product" select menu in request.cgi doesn't group products by classifications - Patch by Frédéric Buclin r=dkl a=LpSolit MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- template/en/default/request/queue.html.tmpl | 49 +++++++++++++++++++++++++---- 1 file changed, 43 insertions(+), 6 deletions(-) (limited to 'template') diff --git a/template/en/default/request/queue.html.tmpl b/template/en/default/request/queue.html.tmpl index aa555417c..4be33ca88 100644 --- a/template/en/default/request/queue.html.tmpl +++ b/template/en/default/request/queue.html.tmpl @@ -23,8 +23,6 @@ [% USE Bugzilla %] [% cgi = Bugzilla.cgi %] -[% PROCESS "global/js-products.html.tmpl" %] - [% PROCESS global/header.html.tmpl title="Request Queue" style = " @@ -35,6 +33,31 @@ javascript_urls=["js/productform.js"] %] + + +[% BLOCK js_comp %] + cpts['[% n %]'] = [ + [%- FOREACH comp = prod.components %]'[% comp.name FILTER js %]'[% ", " UNLESS loop.last %] [%- END -%]]; + [% n = n+1 %] +[% END %] +

When you are logged in, only requests made by you or addressed to you are shown by default. You can change the criteria using the form below. @@ -54,10 +77,24 @@ to some group are shown by default. -- cgit v1.2.3-24-g4f1b