From 2e428770f619545b61deba345bd5431a0571dd6a Mon Sep 17 00:00:00 2001 From: "bbaetz%student.usyd.edu.au" <> Date: Thu, 14 Feb 2002 09:25:21 +0000 Subject: Bug 110013 - templatize describecomponents.cgi r=gerv, afranke --- template/default/info/describe-components.tmpl | 86 ++++++++++++++++++++++++++ 1 file changed, 86 insertions(+) create mode 100644 template/default/info/describe-components.tmpl (limited to 'template/default/info') diff --git a/template/default/info/describe-components.tmpl b/template/default/info/describe-components.tmpl new file mode 100644 index 000000000..068559667 --- /dev/null +++ b/template/default/info/describe-components.tmpl @@ -0,0 +1,86 @@ +[%# 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 + #%] + +[% INCLUDE global/header + title = "Components for $product" + h2 = 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.sort %] + [% INCLUDE describe_comp %] + [% END %] + + + +
ComponentDefault OwnerDefault QA Contact
+
+
+[% END %] + +[% INCLUDE global/footer %] + +[%############################################################################%] +[%# BLOCK for components %] +[%############################################################################%] + +[% BLOCK describe_comp %] + + +
+ + + + + [% comp.name FILTER html %] + + + + [% comp.initialowner %] + + [% IF Param("useqacontact") %] + + + [% comp.initialqacontact %] + + [% END %] + + + + [% comp.description %] + + +[% END %] -- cgit v1.2.1