[%# 1.0@bugzilla.org %] [%# 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 #%] [%# INTERFACE: # product: string. The product this is the components list for. # components: List of hashes. May be empty. Each hash has four members: # name: string. Name of the component. # description: string. Description of the component. May contain HTML. # initialowner: string. Component's default assignee. # initialqacontact: string. Component's default QA contact. #%] [% filtered_product = product FILTER html %] [% PROCESS global/header.html.tmpl title = "Components for $product" h2 = filtered_product %] [% IF Param("useqacontact") %] [% numcols = 3 %] [% ELSE %] [% numcols = 2 %] [% END %] [% IF components.size == 0 %] This product has no components. [% ELSE %] [% IF Param("useqacontact") %] [% END %] [% FOREACH comp = components %] [% INCLUDE describe_comp %] [% END %]
Component Default AssigneeDefault QA Contact

[% END %] [% PROCESS global/footer.html.tmpl %] [%############################################################################%] [%# BLOCK for components %] [%############################################################################%] [% BLOCK describe_comp %]
[% comp.name FILTER html %] [% comp.initialowner FILTER html %] [% IF Param("useqacontact") %] [% comp.initialqacontact FILTER html %] [% END %] [% comp.description %] [% END %]