From 44b48df3901d829e1423749136d142964ccb4a3e Mon Sep 17 00:00:00 2001 From: "gerv%gerv.net" <> Date: Fri, 4 Jul 2003 04:31:13 +0000 Subject: Bug 13540 - allow key terms, like "Bugzilla" and "bug", to be altered without changing all the templates. Patch by jwilmoth@starbucks.com; r=gerv, a=justdave. --- template/en/default/request/queue.html.tmpl | 46 +++++++++++++++-------------- 1 file changed, 24 insertions(+), 22 deletions(-) (limited to 'template/en/default/request/queue.html.tmpl') diff --git a/template/en/default/request/queue.html.tmpl b/template/en/default/request/queue.html.tmpl index 19e2cbe54..ed900d263 100644 --- a/template/en/default/request/queue.html.tmpl +++ b/template/en/default/request/queue.html.tmpl @@ -19,6 +19,8 @@ # Contributor(s): Myk Melez #%] +[% PROCESS global/variables.none.tmpl %] + [%# The javascript and header_html blocks get used in header.html.tmpl. %] [% javascript = BLOCK %] var usetms = 0; // do we have target milestone? @@ -26,7 +28,7 @@ var last_sel = []; // caches last selection var cpts = new Array(); [% FOREACH p = products %] - cpts['[% p FILTER js %]'] = [ + cpts['[% p FILTER js %]'] = [ [%- FOREACH item = components_by_product.$p %]'[% item FILTER js %]'[% ", " UNLESS loop.last %] [%- END -%] ]; [% END %] [% END %] @@ -48,30 +50,30 @@ Flag: - [% PROCESS "global/select-menu.html.tmpl" - name="type" + [% PROCESS "global/select-menu.html.tmpl" + name="type" options=types default=form.type %] - + [%# We could let people see a "queue" of non-pending requests. %] - + Requestee: @@ -81,18 +83,18 @@ Group By: - [% groups = { - "Requester" => 'requester' , - "Requestee" => 'requestee', - "Flag" => 'type' , - "Product/Component" => 'category' + [% groups = { + "Requester" => 'requester' , + "Requestee" => 'requestee', + "Flag" => 'type' , + "Product/Component" => 'category' } %] [% PROCESS "global/select-menu.html.tmpl" name="group" options=groups default=form.group %] @@ -103,14 +105,14 @@ [% END %] -[% column_headers = { - "type" => "Flag" , - "status" => "Status" , - "bug" => "Bug" , - "attachment" => "Attachment" , +[% column_headers = { + "type" => "Flag" , + "status" => "Status" , + "bug" => "$terms.Bug" , + "attachment" => "Attachment" , "requester" => "Requester" , - "requestee" => "Requestee" , - "created" => "Created" , + "requestee" => "Requestee" , + "created" => "Created" , "category" => "Product/Component" } %] [% DEFAULT display_columns = ["requester", "requestee", "type", "bug", "attachment", "created"] @@ -119,7 +121,7 @@ %] -[% PROCESS global/header.html.tmpl +[% PROCESS global/header.html.tmpl title="Request Queue" h2=filter_form style = " -- cgit v1.2.3-24-g4f1b