diff options
Diffstat (limited to 'template/en/default')
-rw-r--r-- | template/en/default/list/list.csv.tmpl | 34 | ||||
-rw-r--r-- | template/en/default/list/list.html.tmpl | 5 |
2 files changed, 36 insertions, 3 deletions
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 <myk@mozilla.org> + # Gervase Markham <gerv@gerv.net> + #%] + +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 @@ <form method="post" action="long_list.cgi"> <input type="hidden" name="buglist" value="[% buglist %]"> <input type="submit" value="Long Format"> - - <a href="query.cgi">Query Page</a> - <a href="enter_bug.cgi">Enter New Bug</a> + + <a href="buglist.cgi?[% urlquerypart %]&ctype=csv">CSV</a> <a href="colchange.cgi?[% urlquerypart %]">Change Columns</a> [% IF bugs.size > 1 && caneditbugs && !dotweak %] |