1
[%# 1.0@bugzilla.org %]
2
[%# The contents of this file are subject to the Mozilla Public
3
# License Version 1.1 (the "License"); you may not use this file
4
# except in compliance with the License. You may obtain a copy of
5
# the License at http://www.mozilla.org/MPL/
7
# Software distributed under the License is distributed on an "AS
8
# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
9
# implied. See the License for the specific language governing
10
# rights and limitations under the License.
12
# The Original Code is the Bugzilla Bug Tracking System.
14
# The Initial Developer of the Original Code is Netscape Communications
15
# Corporation. Portions created by Netscape are
16
# Copyright (C) 1998 Netscape Communications Corporation. All
19
# Contributor(s): Gervase Markham <gerv@gerv.net>
22
# See report-table.html.tmpl.
24
[% PROCESS global/variables.none.tmpl %]
26
[% colsepchar = user.settings.csv_colsepchar.value %]
28
[% num_bugs = BLOCK %]Number of [% terms.bugs %][% END %]
29
[% tbl_field_disp = field_descs.$tbl_field || tbl_field %]
30
[% col_field_disp = field_descs.$col_field || col_field %]
31
[% row_field_disp = field_descs.$row_field || row_field %]
34
[% tbl_field_disp FILTER csv %]: [% tbl FILTER csv %]
37
[% row_field_disp FILTER csv %]
39
[% " / " IF col_field AND row_field %]
40
[% col_field_disp FILTER csv %]
42
[% FOREACH col = col_names -%]
44
[% IF col_field == 'bug_status' %]
45
[% status_descs.$col FILTER csv -%]
46
[% ELSIF col_field == 'resolution' %]
47
[% get_resolution(col) FILTER csv -%]
53
[% colsepchar %][% num_bugs FILTER csv %]
56
[% FOREACH row = row_names %]
57
[% IF row_field == 'bug_status' %]
58
[% status_descs.$row FILTER csv -%]
59
[% ELSIF row_field == 'resolution' %]
60
[% get_resolution(row) FILTER csv -%]
64
[% FOREACH col = col_names %]
66
[% IF data.$tbl AND data.$tbl.$col AND data.$tbl.$col.$row %]
67
[% data.$tbl.$col.$row -%]