From 1f30fac936a3b0905e736dd86e559e33caf036ac Mon Sep 17 00:00:00 2001 From: David Lawrence Date: Wed, 10 Aug 2011 18:26:03 -0400 Subject: Initial checkin of bmo/4.0 extensions. Still todo: port changes to core Bugzilla code --- .../en/default/pages/triage_reports.html.tmpl | 199 +++++++++++++++++++++ 1 file changed, 199 insertions(+) create mode 100644 extensions/BMO/template/en/default/pages/triage_reports.html.tmpl (limited to 'extensions/BMO/template/en/default/pages/triage_reports.html.tmpl') diff --git a/extensions/BMO/template/en/default/pages/triage_reports.html.tmpl b/extensions/BMO/template/en/default/pages/triage_reports.html.tmpl new file mode 100644 index 000000000..a7f26e86d --- /dev/null +++ b/extensions/BMO/template/en/default/pages/triage_reports.html.tmpl @@ -0,0 +1,199 @@ +[%# 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" + yui = [ 'autocomplete', '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 %] / DateSummaryReporter / CommenterComment DateLast 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 %] -- cgit v1.2.3-24-g4f1b