summaryrefslogtreecommitdiffstats
path: root/template/en/default/reports/report-table.csv.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'template/en/default/reports/report-table.csv.tmpl')
-rw-r--r--template/en/default/reports/report-table.csv.tmpl16
1 files changed, 14 insertions, 2 deletions
diff --git a/template/en/default/reports/report-table.csv.tmpl b/template/en/default/reports/report-table.csv.tmpl
index 216419fea..42fcd6686 100644
--- a/template/en/default/reports/report-table.csv.tmpl
+++ b/template/en/default/reports/report-table.csv.tmpl
@@ -43,14 +43,26 @@
[% title %],
[% IF col_field -%]
[% FOREACH col = col_names -%]
- [% col FILTER csv -%],
+ [% IF col_field == 'bug_status' %]
+ [% status_descs.$col FILTER csv -%]
+ [% ELSIF col_field == 'resolution' %]
+ [% resolution_descs.$col FILTER csv -%]
+ [% ELSE %]
+ [% col FILTER csv -%],
+ [% END %]
[% END -%]
[% ELSE -%]
[% num_bugs %],
[% END %]
[% FOREACH row = row_names %]
- [% row FILTER csv -%],
+[% IF row_field == 'bug_status' %]
+ [% status_descs.$row FILTER csv -%]
+ [% ELSIF row_field == 'resolution' %]
+ [% resolution_descs.$row FILTER csv -%]
+ [% ELSE %]
+ [% row FILTER csv -%],
+ [% END %]
[% FOREACH col = col_names %]
[% IF data.$tbl AND data.$tbl.$col AND data.$tbl.$col.$row %]
[% data.$tbl.$col.$row -%],