From adc3c7a7b51bd32732d1f65aa9da180c1e6e15d8 Mon Sep 17 00:00:00 2001 From: Matt Selsky Date: Mon, 15 Dec 2014 17:47:48 +0000 Subject: Bug 950486: Move the webdotbase and font_file parameters from data/params into localconfig (and kill the Graphs panel). r=gerv, a=glob. --- template/en/default/reports/report-line.png.tmpl | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'template/en/default/reports/report-line.png.tmpl') diff --git a/template/en/default/reports/report-line.png.tmpl b/template/en/default/reports/report-line.png.tmpl index 585133afd..a4baff641 100644 --- a/template/en/default/reports/report-line.png.tmpl +++ b/template/en/default/reports/report-line.png.tmpl @@ -38,12 +38,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 %] -- cgit v1.2.3-24-g4f1b