diff options
Diffstat (limited to 'template')
-rw-r--r-- | template/en/default/reports/chart.html.tmpl | 7 | ||||
-rw-r--r-- | template/en/default/reports/create-chart.html.tmpl | 7 | ||||
-rw-r--r-- | template/en/default/reports/report.html.tmpl | 5 |
3 files changed, 19 insertions, 0 deletions
diff --git a/template/en/default/reports/chart.html.tmpl b/template/en/default/reports/chart.html.tmpl index dfab725e6..7004086de 100644 --- a/template/en/default/reports/chart.html.tmpl +++ b/template/en/default/reports/chart.html.tmpl @@ -20,6 +20,13 @@ header_addl_info = time %] +[% IF debug %] + <p>Bugzilla::Chart object:</p> + <pre> + [% debug_dump FILTER html %] + </pre> +[% END %] + <div class="center"> [% imageurl = BLOCK %]chart.cgi? diff --git a/template/en/default/reports/create-chart.html.tmpl b/template/en/default/reports/create-chart.html.tmpl index 6b5fa5fe3..9ae25c608 100644 --- a/template/en/default/reports/create-chart.html.tmpl +++ b/template/en/default/reports/create-chart.html.tmpl @@ -18,6 +18,13 @@ style_urls = ['skins/standard/buglist.css'] %] +[% IF debug %] + <p>Bugzilla::Chart object:</p> + <pre> + [% debug_dump FILTER html %] + </pre> +[% END %] + [% PROCESS "reports/series-common.html.tmpl" donames = 1 %] diff --git a/template/en/default/reports/report.html.tmpl b/template/en/default/reports/report.html.tmpl index a9cd96551..b669070c2 100644 --- a/template/en/default/reports/report.html.tmpl +++ b/template/en/default/reports/report.html.tmpl @@ -61,6 +61,11 @@ %] [% IF debug %] + <p>Data hash:</p> + <pre>[% debug_hash FILTER html %]</pre> + <p>Data array:</p> + <pre>[% debug_array FILTER html %]</pre> + <p>Queries:</p> [% FOREACH query = queries %] <p>[% query.sql FILTER html %]</p> [% END %] |