From 23b1fd0850a8e7d52b2be37c2e416b94ed716f0b Mon Sep 17 00:00:00 2001 From: "gerv%gerv.net" <> Date: Fri, 1 Nov 2002 07:06:54 +0000 Subject: Bug 177430 - buglist.cgi needs a CSV output format. Patch by gerv; r=justdave. --- template/en/default/list/list.csv.tmpl | 34 +++++++++++++++++++++++++++++++++ template/en/default/list/list.html.tmpl | 5 ++--- 2 files changed, 36 insertions(+), 3 deletions(-) create mode 100644 template/en/default/list/list.csv.tmpl (limited to 'template/en') diff --git a/template/en/default/list/list.csv.tmpl b/template/en/default/list/list.csv.tmpl new file mode 100644 index 000000000..b3e5667cb --- /dev/null +++ b/template/en/default/list/list.csv.tmpl @@ -0,0 +1,34 @@ +[%# 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): Myk Melez + # Gervase Markham + #%] + +bug_id, +[% FOREACH column = displaycolumns %] + [% column FILTER csv %], +[% END %] + +[% FOREACH bug = bugs %] + [% bug.id %], + [% FOREACH column = displaycolumns %] + [% bug.$column FILTER csv %], + [% END %] + +[% END %] diff --git a/template/en/default/list/list.html.tmpl b/template/en/default/list/list.html.tmpl index 65f939e6a..245c1313f 100644 --- a/template/en/default/list/list.html.tmpl +++ b/template/en/default/list/list.html.tmpl @@ -132,9 +132,8 @@
- - Query Page    - Enter New Bug    +    + CSV    Change Columns    [% IF bugs.size > 1 && caneditbugs && !dotweak %] -- cgit v1.2.3-24-g4f1b