From 570476d742e61c2fe3d846258d6a73a2764b486f Mon Sep 17 00:00:00 2001 From: David Lawrence Date: Thu, 8 Jan 2015 15:01:42 +0000 Subject: Bug 1108685: describecomponents.cgi?product=X shouldn't list default assignee if it's "nobody" --- .../en/default/reports/components.html.tmpl | 99 ++++++++++++++++++++++ 1 file changed, 99 insertions(+) create mode 100644 extensions/BMO/template/en/default/reports/components.html.tmpl (limited to 'extensions/BMO/template') diff --git a/extensions/BMO/template/en/default/reports/components.html.tmpl b/extensions/BMO/template/en/default/reports/components.html.tmpl new file mode 100644 index 000000000..3e23d389e --- /dev/null +++ b/extensions/BMO/template/en/default/reports/components.html.tmpl @@ -0,0 +1,99 @@ +[%# 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 Bugzilla Bug Tracking System. + # + # The Initial Developer of the Original Code is Netscape Communications + # Corporation. Portions created by Netscape are + # Copyright (C) 1998 Netscape Communications Corporation. All + # Rights Reserved. + # + # Contributor(s): Bradley Baetz + # Max Kanat-Alexander + #%] + +[%# INTERFACE: + # product: object. The product for which we want to display component + # descriptions. + # component: string. The name of the component to hilight in the browser + #%] + +[% title = BLOCK %] + Components for [% product.name FILTER html %] +[% END %] + +[% inline_style = BLOCK %] +.product_name { + font-size: 2em; + font-weight: normal; +} +.component_name { + font-size: 1.5em; + font-weight: normal; +} +.product_desc, .component_desc { + padding-left: 1em; + font-size: 1em; +} +.component_container { + padding-left: 1em; + margin-bottom: 1em; +} +.product_container, .instructions { + margin-bottom: 1em; +} +.component_highlight { + padding: 0 0 0 1em; +} +[% END %] + +[% PROCESS global/header.html.tmpl + style_urls = [ "skins/standard/reports.css" ] + title = title + style = inline_style +%] + +

[% mark FILTER html %]

+ +
+ [% product.name FILTER html %] +
+ [% product.description FILTER html_light %] +
+
+ +
+ Select a component to see open [% terms.bugs %] in that component: +
+ +[% FOREACH comp = product.components %] + [% INCLUDE describe_comp %] +[% END %] + +[% PROCESS global/footer.html.tmpl %] + +[%############################################################################%] +[%# BLOCK for components %] +[%############################################################################%] + +[% BLOCK describe_comp %] +
+ +
+ [% comp.description FILTER html_light %] +
+
+[% END %] -- cgit v1.2.3-24-g4f1b