aboutsummaryrefslogtreecommitdiffstats
path: root/debug_toolbar/templates
diff options
context:
space:
mode:
authorDavid Cramer2011-06-14 12:49:51 -0700
committerDavid Cramer2011-06-14 12:49:51 -0700
commit7504141f19ef1bdaaf91d95461dad35ac84b5211 (patch)
treee3a110296b02b1f665b0563f9ecfa244ebc8e0b4 /debug_toolbar/templates
parent4ee67a1632f41a873d997ae15ac0a2eccca04430 (diff)
parent2480ca97297a101b91e6287e9bd5acd4547e6bbd (diff)
downloaddjango-debug-toolbar-7504141f19ef1bdaaf91d95461dad35ac84b5211.tar.bz2
Merge branch 'master' of github.com:django-debug-toolbar/django-debug-toolbar
Diffstat (limited to 'debug_toolbar/templates')
-rw-r--r--debug_toolbar/templates/debug_toolbar/panels/sql.html3
1 files changed, 2 insertions, 1 deletions
diff --git a/debug_toolbar/templates/debug_toolbar/panels/sql.html b/debug_toolbar/templates/debug_toolbar/panels/sql.html
index f6f231c..9b282ca 100644
--- a/debug_toolbar/templates/debug_toolbar/panels/sql.html
+++ b/debug_toolbar/templates/debug_toolbar/panels/sql.html
@@ -1,4 +1,5 @@
{% load i18n %}
+{% load debug_toolbar_utils %}
<div class="clearfix">
<ul class="stats">
{% for alias, info in databases %}
@@ -34,7 +35,7 @@
</div>
</td>
<td class="timeline">
- <div class="djDebugTimeline"><div class="djDebugLineChart{% if query.is_slow %} djDebugLineChartWarning{% endif %}" style="left:{{ query.start_offset }}%;"><strong style="width:{{ query.width_ratio }}%;">{{ query.width_ratio }}%</strong></div></div>
+ <div class="djDebugTimeline"><div class="djDebugLineChart{% if query.is_slow %} djDebugLineChartWarning{% endif %}" style="left:{{ query.start_offset|dotted_number }}%;"><strong style="width:{{ query.width_ratio_relative|dotted_number }}%;">{{ query.width_ratio }}%</strong></div></div>
</td>
<td class="time">
{{ query.duration|floatformat:"2" }}