diff options
author | lpsolit%gmail.com <> | 2007-07-26 23:01:24 +0200 |
---|---|---|
committer | lpsolit%gmail.com <> | 2007-07-26 23:01:24 +0200 |
commit | f4c86834b97ded9419be20a5bb4ee1e7b117a2de (patch) | |
tree | 174328b667230e7da8f0149e49e4bea00791a0c4 /template/en/default | |
parent | a32fefa5719d8f50edee9d2210b0288a3f7c369b (diff) | |
download | bugzilla-f4c86834b97ded9419be20a5bb4ee1e7b117a2de.tar.gz bugzilla-f4c86834b97ded9419be20a5bb4ee1e7b117a2de.tar.xz |
Bug 389517: CSV export gives resolution and status in English - Patch by Emmanuel Seyman <eseyman@linagora.com> r/a=LpSolit
Diffstat (limited to 'template/en/default')
-rw-r--r-- | template/en/default/list/list.csv.tmpl | 6 |
1 files changed, 5 insertions, 1 deletions
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 <gerv@gerv.net> #%] -[% 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 %] |