summaryrefslogtreecommitdiffstats
path: root/template/en/default/reports
diff options
context:
space:
mode:
Diffstat (limited to 'template/en/default/reports')
-rw-r--r--template/en/default/reports/report-bar.png.tmpl8
-rw-r--r--template/en/default/reports/report-line.png.tmpl8
-rw-r--r--template/en/default/reports/report-pie.png.tmpl4
-rw-r--r--template/en/default/reports/report-table.csv.tmpl4
-rw-r--r--template/en/default/reports/report-table.html.tmpl4
5 files changed, 14 insertions, 14 deletions
diff --git a/template/en/default/reports/report-bar.png.tmpl b/template/en/default/reports/report-bar.png.tmpl
index 74e2ca34e..cb9fab24f 100644
--- a/template/en/default/reports/report-bar.png.tmpl
+++ b/template/en/default/reports/report-bar.png.tmpl
@@ -28,25 +28,25 @@
[% IF col_field == 'bug_status' %]
[% FOR i IN [ 0 .. data.0.0.max ] %]
- [% data.0.0.$i = get_status(data.0.0.$i) %]
+ [% data.0.0.$i = display_value("bug_status", data.0.0.$i) %]
[% END %]
[% END %]
[% IF col_field == 'resolution' %]
[% FOR i IN [ 0 .. data.0.0.max ] %]
- [% data.0.0.$i = get_resolution(data.0.0.$i) %]
+ [% data.0.0.$i = display_value("resolution", data.0.0.$i) %]
[% END %]
[% END %]
[% IF row_field == 'bug_status' %]
[% FOR i IN [ 0 .. row_names.max ] %]
- [% row_names.$i = get_status(row_names.$i) %]
+ [% row_names.$i = display_value("bug_status", row_names.$i) %]
[% END %]
[% END %]
[% IF row_field == 'resolution' %]
[% FOR i IN [ 0 .. row_names.max ] %]
- [% row_names.$i = get_resolution(row_names.$i) %]
+ [% row_names.$i = display_value("resolution", row_names.$i) %]
[% END %]
[% END %]
diff --git a/template/en/default/reports/report-line.png.tmpl b/template/en/default/reports/report-line.png.tmpl
index d4982bc7a..fc8b418af 100644
--- a/template/en/default/reports/report-line.png.tmpl
+++ b/template/en/default/reports/report-line.png.tmpl
@@ -28,25 +28,25 @@
[% IF col_field == 'bug_status' %]
[% FOR i IN [ 0 .. data.0.0.max ] %]
- [% data.0.0.$i = get_status(data.0.0.$i) %]
+ [% data.0.0.$i = display_value("bug_status", data.0.0.$i) %]
[% END %]
[% END %]
[% IF col_field == 'resolution' %]
[% FOR i IN [ 0 .. data.0.0.max ] %]
- [% data.0.0.$i = get_resolution(data.0.0.$i) %]
+ [% data.0.0.$i = display_value("resolution", data.0.0.$i) %]
[% END %]
[% END %]
[% IF row_field == 'bug_status' %]
[% FOR i IN [ 0 .. row_names.max ] %]
- [% row_names.$i = get_status(row_names.$i) %]
+ [% row_names.$i = display_value("bug_status", row_names.$i) %]
[% END %]
[% END %]
[% IF row_field == 'resolution' %]
[% FOR i IN [ 0 .. row_names.max ] %]
- [% row_names.$i = get_resolution(row_names.$i) %]
+ [% row_names.$i = display_value("resolution", row_names.$i) %]
[% END %]
[% END %]
diff --git a/template/en/default/reports/report-pie.png.tmpl b/template/en/default/reports/report-pie.png.tmpl
index 342d9b78a..05a359032 100644
--- a/template/en/default/reports/report-pie.png.tmpl
+++ b/template/en/default/reports/report-pie.png.tmpl
@@ -24,13 +24,13 @@
[% IF col_field == 'bug_status' %]
[% FOR i IN [ 0 .. data.0.0.max ] %]
- [% data.0.0.$i = get_status(data.0.0.$i) %]
+ [% data.0.0.$i = display_value("bug_status", data.0.0.$i) %]
[% END %]
[% END %]
[% IF col_field == 'resolution' %]
[% FOR i IN [ 0 .. data.0.0.max ] %]
- [% data.0.0.$i = get_resolution(data.0.0.$i) %]
+ [% data.0.0.$i = display_value("resolution", data.0.0.$i) %]
[% END %]
[% END %]
diff --git a/template/en/default/reports/report-table.csv.tmpl b/template/en/default/reports/report-table.csv.tmpl
index 0f315cc02..3694b9b35 100644
--- a/template/en/default/reports/report-table.csv.tmpl
+++ b/template/en/default/reports/report-table.csv.tmpl
@@ -69,9 +69,9 @@
[% BLOCK value_display %]
[% SET disp_value = value %]
[% IF field == 'bug_status' %]
- [% SET disp_value = get_status(value) %]
+ [% SET disp_value = display_value("bug_status", value) %]
[% ELSIF field == 'resolution' %]
- [% SET disp_value = get_resolution(value) %]
+ [% SET disp_value = display_value("resolution", value) %]
[% ELSIF field == 'assigned_to' OR field == 'reporter'
OR field == 'qa_contact'
%]
diff --git a/template/en/default/reports/report-table.html.tmpl b/template/en/default/reports/report-table.html.tmpl
index 6c5d6ede2..6c0abe4d3 100644
--- a/template/en/default/reports/report-table.html.tmpl
+++ b/template/en/default/reports/report-table.html.tmpl
@@ -156,9 +156,9 @@
[% BLOCK value_display %]
[% SET disp_value = value %]
[% IF field == 'bug_status' %]
- [% SET disp_value = get_status(value) %]
+ [% SET disp_value = display_value("bug_status", value) %]
[% ELSIF field == 'resolution' %]
- [% SET disp_value = get_resolution(value) %]
+ [% SET disp_value = display_value("resolution", value) %]
[% ELSIF field == 'assigned_to' OR field == 'reporter'
OR field == 'qa_contact'
%]