From f0a9bdd03c1a9e8fb55870143995165595f386af Mon Sep 17 00:00:00 2001 From: "lpsolit%gmail.com" <> Date: Wed, 20 Jul 2005 19:39:47 +0000 Subject: Bug 298220: Graphs should use localised terms for statuses and resolutions - Patch by Emmanuel Seyman r=gerv,wurblzap a=myk --- template/en/default/reports/report-pie.png.tmpl | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'template/en/default/reports/report-pie.png.tmpl') diff --git a/template/en/default/reports/report-pie.png.tmpl b/template/en/default/reports/report-pie.png.tmpl index 38cc56cc4..c70b06bcf 100644 --- a/template/en/default/reports/report-pie.png.tmpl +++ b/template/en/default/reports/report-pie.png.tmpl @@ -23,6 +23,18 @@ [% 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 %] + [% FILTER null; USE graph = GD.Graph.pie(width, height); -- cgit v1.2.3-24-g4f1b