summaryrefslogtreecommitdiffstats
path: root/template/en/default/request/queue.html.tmpl
diff options
context:
space:
mode:
authorgerv%gerv.net <>2003-07-04 06:31:13 +0200
committergerv%gerv.net <>2003-07-04 06:31:13 +0200
commit44b48df3901d829e1423749136d142964ccb4a3e (patch)
treef87659c97f6c97654cde63005c514a5504913631 /template/en/default/request/queue.html.tmpl
parent7b35e1a271f27612cba91216d50e5f497dd0c69a (diff)
downloadbugzilla-44b48df3901d829e1423749136d142964ccb4a3e.tar.gz
bugzilla-44b48df3901d829e1423749136d142964ccb4a3e.tar.xz
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.
Diffstat (limited to 'template/en/default/request/queue.html.tmpl')
-rw-r--r--template/en/default/request/queue.html.tmpl46
1 files changed, 24 insertions, 22 deletions
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 <myk@mozilla.org>
#%]
+[% 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 @@
<select name="product" onchange="selectProduct(this.form, 'product', 'component', 'Any');">
<option value="">Any</option>
[% FOREACH item = products %]
- <option value="[% item FILTER html %]"
+ <option value="[% item FILTER html %]"
[% "selected" IF form.product == item %]>[% item FILTER html %]</option>
[% END %]
</select>
</td>
<th>Flag:</th>
<td>
- [% PROCESS "global/select-menu.html.tmpl"
- name="type"
+ [% PROCESS "global/select-menu.html.tmpl"
+ name="type"
options=types
default=form.type %]
</td>
-
+
[%# We could let people see a "queue" of non-pending requests. %]
<!--
<th>Status:</th>
<td>
- [%# PROCESS "global/select-menu.html.tmpl"
- name="status"
+ [%# PROCESS "global/select-menu.html.tmpl"
+ name="status"
options=["all", "?", "+-", "+", "-"]
default=form.status %]
</td>
-->
-
+
</tr>
<tr>
<th>Requestee:</th>
@@ -81,18 +83,18 @@
<select name="component">
<option value="">Any</option>
[% FOREACH item = components %]
- <option value="[% item FILTER html %]" [% "selected" IF form.component == item %]>
+ <option value="[% item FILTER html %]" [% "selected" IF form.component == item %]>
[% item FILTER html %]</option>
[% END %]
</select>
</td>
<th>Group By:</th>
<td>
- [% 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 %]
</td>
@@ -103,14 +105,14 @@
</form>
[% 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 = "