From a2dd3b00284fd4724d3408274cb1156c7a77d187 Mon Sep 17 00:00:00 2001 From: "mkanat%bugzilla.org" <> Date: Sat, 24 Oct 2009 05:21:06 +0000 Subject: Bug 520948: Use Bugzilla->feature and feature_enabled everywhere instead of checking if modules are installed Patch by Max Kanat-Alexander r=LpSolit, a=LpSolit --- template/en/default/reports/menu.html.tmpl | 44 +++++++++++++++++------------- 1 file changed, 25 insertions(+), 19 deletions(-) (limited to 'template/en/default/reports') diff --git a/template/en/default/reports/menu.html.tmpl b/template/en/default/reports/menu.html.tmpl index db5b19293..f7613ec01 100644 --- a/template/en/default/reports/menu.html.tmpl +++ b/template/en/default/reports/menu.html.tmpl @@ -48,28 +48,34 @@ - tables of [% terms.bug %] counts in 1, 2 or 3 dimensions, as HTML or CSV. -
  • - - Graphical reports - - - line graphs, bar and pie charts. -
  • - - -

    Change Over Time

    - - +[% IF feature_enabled('new_charts') OR feature_enabled('old_charts') %] +

    Change Over Time

    + + +[% END %] + [% PROCESS global/footer.html.tmpl %] -- cgit v1.2.3-24-g4f1b