[%# This Source Code Form is subject to the terms of the Mozilla Public # License, v. 2.0. If a copy of the MPL was not distributed with this # file, You can obtain one at http://mozilla.org/MPL/2.0/. # # This Source Code Form is "Incompatible With Secondary Licenses", as # defined by the Mozilla Public License, v. 2.0. #%] [% USE Bugzilla %] [% cgi = Bugzilla.cgi %] [% PROCESS global/header.html.tmpl title="Request Queue" style = " table.requests th { text-align: left; } table#filtering th { text-align: right; } " onload="var f = document.request_form; selectProduct(f.product, f.component, null, null, 'Any');" javascript_urls=["js/productform.js", "js/field.js"] style_urls = ['skins/standard/buglist.css'] yui = ['autocomplete'] %] [% 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. When you are logged out, all pending requests that are not restricted to some group are shown by default.
[% column_headers = { "type" => "Flag" , "status" => "Status" , "bug" => "$terms.Bug" , "attachment" => "Attachment" , "requester" => "Requester" , "requestee" => "Requestee" , "created" => "Created" , "category" => "Product/Component" } %] [% DEFAULT display_columns = ["requester", "requestee", "type", "bug", "attachment", "created"] group_field = "Requestee" group_value = "" %] [% IF debug %][% query FILTER html %]
[% END %] [% IF requests.size == 0 %]No requests.
[% ELSE %] [% FOREACH request = requests %] [% IF request.$group_field != group_value || loop.first %] [% group_value = request.$group_field %] [% PROCESS display_buglist UNLESS loop.first %] [% PROCESS start_new_table %] [% END %] [% buglist.${request.bug_id} = 1 %][% column_headers.$column %] | [% END %]
---|