Skip to content

Commit

Permalink
Add option to hide the download button on charts
Browse files Browse the repository at this point in the history
Add the $HideChartDownloadButton configuration that allows to hide the
download button on charts.
  • Loading branch information
richieri-bps committed Nov 15, 2023
1 parent 023240f commit 1e4a72f
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<a href="<% $href %>" class="button btn btn-primary"><&|/l&>Download as Microsoft Excel Spreadsheet</&></a>
<%INIT>
return if RT->Config->Get('HideChartDownloadButton');

my $query_string = '?' . $m->comp('/Elements/QueryString',
Query => $ARGSRef->{Query},
GroupBy => $ARGSRef->{GroupBy},
Expand Down

0 comments on commit 1e4a72f

Please sign in to comment.