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.tmpl13
1 files changed, 7 insertions, 6 deletions
diff --git a/template/en/default/reports/report-bar.png.tmpl b/template/en/default/reports/report-bar.png.tmpl
index d879f6dd1..3f0faa5d9 100644
--- a/template/en/default/reports/report-bar.png.tmpl
+++ b/template/en/default/reports/report-bar.png.tmpl
@@ -36,12 +36,13 @@
END;
-%]
-[% IF Param("font_file") %]
- [% graph.set_x_axis_font(Param("font_file"), 9);
- graph.set_x_label_font(Param("font_file"), 10);
- graph.set_y_axis_font(Param("font_file"), 9);
- graph.set_y_label_font(Param("font_file"), 10);
- graph.set_legend_font(Param("font_file"), 9);
+[% USE Bugzilla %]
+[% IF Bugzilla.localconfig.font_file %]
+ [% graph.set_x_axis_font(Bugzilla.localconfig.font_file, 9);
+ graph.set_x_label_font(Bugzilla.localconfig.font_file, 10);
+ graph.set_y_axis_font(Bugzilla.localconfig.font_file, 9);
+ graph.set_y_label_font(Bugzilla.localconfig.font_file, 10);
+ graph.set_legend_font(Bugzilla.localconfig.font_file, 9);
%]
[% END %]