[%# The contents of this file are subject to the Mozilla Public # License Version 1.1 (the "License"); you may not use this file # except in compliance with the License. You may obtain a copy of # the License at http://www.mozilla.org/MPL/ # # Software distributed under the License is distributed on an "AS # IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or # implied. See the License for the specific language governing # rights and limitations under the License. # # The Original Code is the BMO Extension # # The Initial Developer of the Original Code is the Mozilla Foundation # Portions created by the Initial Developers are Copyright (C) 2011 the # Initial Developer. All Rights Reserved. # # Contributor(s): # Byron Jones #%] [% PROCESS global/variables.none.tmpl %] [% INCLUDE global/header.html.tmpl title = "Triage Owners" javascript_urls = [ "js/util.js", "js/field.js", "js/productform.js", "extensions/BMO/web/js/triage_owners.js" ] style_urls = [ "skins/standard/buglist.css", "extensions/BMO/web/styles/triage_reports.css" ] generate_api_token = 1 %] [% PROCESS "global/field-descs.none.tmpl" %]

Show Triage Owners

Product:
Component:
Owner: [% INCLUDE global/userselect.html.tmpl id = "owner" name = "owner" value = owner size = 40 classes = ["bz_userfield"] multiple = 5 %]
 
[% IF NOT product %]

Displaying components from default product list.

[% END %] [% IF results.size > 0 %]

Each triage owner links to a buglist of all open [% terms.bugs %], since 2016-06-01, without a pending needinfo, where the priority is '--'.

[% current_product = "" %] [% FOREACH r = results %] [% count = loop.count() %] [% IF current_product != r.product %] [% current_product = r.product %] [% END %] [% END %]
[% r.product FILTER html %]
[% r.component FILTER html %] [% IF r.owner.id %] [% INCLUDE global/user.html.tmpl who = r.owner %] [% ELSE %] None [% END %] [% IF r.buglist_url %] [% r.bug_count FILTER html +%] [%+ terms.bugs %] found. [% ELSE %] None [% END %]

Found [% results.size %] component[% 's' IF results.size != 1 %]:

[% ELSE %]

No components found.

[% END %] [% INCLUDE global/footer.html.tmpl %]