diff options
Diffstat (limited to 'template')
-rw-r--r-- | template/en/default/list/list.html.tmpl | 11 | ||||
-rw-r--r-- | template/en/default/reports/report.html.tmpl | 4 |
2 files changed, 5 insertions, 10 deletions
diff --git a/template/en/default/list/list.html.tmpl b/template/en/default/list/list.html.tmpl index cda06ac21..055cd2e8c 100644 --- a/template/en/default/list/list.html.tmpl +++ b/template/en/default/list/list.html.tmpl @@ -60,13 +60,10 @@ [% IF debug %] <div class="bz_query_debug"> - <p>Total execution time: [% query_time FILTER html %] seconds</p> - [% FOREACH query = queries %] - <p>[% query.sql FILTER html %]</p> - <p>Execution time: [% query.time FILTER html %] seconds</p> - [% IF query.explain %] - <pre>[% query.explain FILTER html %]</pre> - [% END %] + <p>[% query FILTER html %]</p> + <p>Execution time: [% query_time FILTER html %] seconds</p> + [% IF query_explain.defined %] + <pre>[% query_explain FILTER html %]</pre> [% END %] </div> [% END %] diff --git a/template/en/default/reports/report.html.tmpl b/template/en/default/reports/report.html.tmpl index 38b64df0b..94725ae81 100644 --- a/template/en/default/reports/report.html.tmpl +++ b/template/en/default/reports/report.html.tmpl @@ -81,9 +81,7 @@ %] [% IF debug %] - [% FOREACH query = queries %] - <p>[% query.sql FILTER html %]</p> - [% END %] + <p>[% query FILTER html %]</p> [% END %] <div align="center"> |