summaryrefslogtreecommitdiffstats
path: root/template/en/default/reports/report-bar.png.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'template/en/default/reports/report-bar.png.tmpl')
-rw-r--r--template/en/default/reports/report-bar.png.tmpl24
1 files changed, 24 insertions, 0 deletions
diff --git a/template/en/default/reports/report-bar.png.tmpl b/template/en/default/reports/report-bar.png.tmpl
index 72a5d9dd4..bb5dab7cd 100644
--- a/template/en/default/reports/report-bar.png.tmpl
+++ b/template/en/default/reports/report-bar.png.tmpl
@@ -27,6 +27,30 @@
[% col_field_disp = field_descs.$col_field || col_field %]
+[% IF col_field == 'bug_status' %]
+ [% FOR i IN [ 0 .. data.0.0.max ] %]
+ [% data.0.0.$i = status_descs.${data.0.0.$i} %]
+ [% END %]
+[% END %]
+
+[% IF col_field == 'resolution' %]
+ [% FOR i IN [ 0 .. data.0.0.max ] %]
+ [% data.0.0.$i = resolution_descs.${data.0.0.$i} %]
+ [% END %]
+[% END %]
+
+[% IF row_field == 'bug_status' %]
+ [% FOR i IN [ 0 .. row_names.max ] %]
+ [% row_names.$i = status_descs.${row_names.$i} %]
+ [% END %]
+[% END %]
+
+[% IF row_field == 'resolution' %]
+ [% FOR i IN [ 0 .. row_names.max ] %]
+ [% row_names.$i = resolution_descs.${row_names.$i} %]
+ [% END %]
+[% END %]
+
[% FILTER null;
USE graph = GD.Graph.bars(width, height);