From f4c86834b97ded9419be20a5bb4ee1e7b117a2de Mon Sep 17 00:00:00 2001 From: "lpsolit%gmail.com" <> Date: Thu, 26 Jul 2007 21:01:24 +0000 Subject: Bug 389517: CSV export gives resolution and status in English - Patch by Emmanuel Seyman r/a=LpSolit --- template/en/default/list/list.csv.tmpl | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/template/en/default/list/list.csv.tmpl b/template/en/default/list/list.csv.tmpl index 76df4f4da..363131cbc 100644 --- a/template/en/default/list/list.csv.tmpl +++ b/template/en/default/list/list.csv.tmpl @@ -20,7 +20,7 @@ # Gervase Markham #%] -[% PROCESS global/variables.none.tmpl %] +[% PROCESS "global/field-descs.none.tmpl" %] [% USE date %] [% colsepchar = user.settings.csv_colsepchar.value %] @@ -37,6 +37,10 @@ bug_id [% IF column == "opendate" OR column == "changeddate" %] [% rawcolumn = column.replace("date", "time") %] [% bug.$column = date.format(bug.$rawcolumn, "%Y-%m-%d %H:%M:%S") %] + [% ELSIF column == 'bug_status' %] + [% bug.$column = get_status(bug.$column) %] + [% ELSIF column == 'resolution' %] + [%- bug.$column = get_resolution(bug.$column) %] [% END %] [% bug.$column FILTER csv %] [% END %] -- cgit v1.2.3-24-g4f1b