summaryrefslogtreecommitdiffstats
path: root/template/en/default/list/list.html.tmpl
diff options
context:
space:
mode:
authorByron Jones <bjones@mozilla.com>2012-03-22 07:15:12 +0100
committerByron Jones <bjones@mozilla.com>2012-03-22 07:15:12 +0100
commit6af883e17f343b8db399befba0cbec21f4f0cee3 (patch)
tree74c353b867a32984cac429292cd17c74782bf73b /template/en/default/list/list.html.tmpl
parent76c90bb4e3390f5622e0426292921876be650b9c (diff)
downloadbugzilla-6af883e17f343b8db399befba0cbec21f4f0cee3.tar.gz
bugzilla-6af883e17f343b8db399befba0cbec21f4f0cee3.tar.xz
Bug 732440: Add SQL execution timings to buglist.cgi's debug output
r=LpSolit, r=LpSolit
Diffstat (limited to 'template/en/default/list/list.html.tmpl')
-rw-r--r--template/en/default/list/list.html.tmpl11
1 files changed, 7 insertions, 4 deletions
diff --git a/template/en/default/list/list.html.tmpl b/template/en/default/list/list.html.tmpl
index f6a688c5f..6c600c6fa 100644
--- a/template/en/default/list/list.html.tmpl
+++ b/template/en/default/list/list.html.tmpl
@@ -68,10 +68,13 @@
</span>
[% IF debug %]
- <p class="bz_query">[% query FILTER html %]</p>
- [% IF query_explain.defined %]
- <pre class="bz_query_explain">[% query_explain FILTER html %]</pre>
- [% END %]
+ <div class="bz_query_debug">
+ <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 %]
[% IF user.settings.display_quips.value == 'on' %]