[%# 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 %] [% js_data = BLOCK %] var useclassification = false; var first_load = true; var last_sel = []; var cpts = new Array(); [% n = 1 %] [% FOREACH p = user.get_selectable_products %] cpts['[% n FILTER js %]'] = [ [%- FOREACH c = p.components %]'[% c.name FILTER js %]'[% ", " UNLESS loop.last %] [%- END -%] ]; [% n = n+1 %] [% END %] var selected_components = [ [%- FOREACH c = input.component %]'[% c FILTER js %]' [%- ',' UNLESS loop.last %] [%- END ~%] ]; [% END %] [% INCLUDE global/header.html.tmpl title = "Triage Reports" generate_api_token = 1 yui = [ 'calendar' ] javascript = js_data javascript_urls = [ "js/util.js", "js/field.js", "js/productform.js", "extensions/BMO/web/js/triage_reports.js" ] style_urls = [ "skins/standard/buglist.css", "extensions/BMO/web/styles/triage_reports.css" ] %] [% PROCESS "global/field-descs.none.tmpl" %]
Show UNCONFIRMED [% terms.bugs %] with:
Product: Comment:
[%+ INCLUDE global/userselect.html.tmpl id => "commenter_is" name => "commenter_is" value => input.commenter_is size => 20 emptyok => 0 classes = input.commenter == "is" ? "" : "hidden" %]

Component:
 
[% IF input.action == 'run' %]
[% IF bugs.size > 0 %]

Found [% bugs.size %] [%+ terms.bug %][% 's' IF bugs.size != 1 %]:

[% FOREACH bug = bugs %] [% count = loop.count() %] [% END %]
[% terms.Bug %] / Date Summary Reporter / Commenter Comment Date Last Comment
[% bug.id FILTER bug_link(bug.id) FILTER none %]
[% bug.creation_ts.replace(' .*' '') FILTER html FILTER no_break %]
[% bug.summary FILTER html %] [% INCLUDE global/user.html.tmpl who = bug.reporter %] [% IF bug.commenter.id != bug.reporter.id %]
[% INCLUDE global/user.html.tmpl who = bug.commenter %] [% END %]
[% bug.comment_ts FILTER html FILTER no_break %] [% bug.comment FILTER html %]

Show as a [% terms.Bug %] List

[% ELSE %]

No [% terms.bugs %] found.

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