Skip to content

Commit f2382e7

Browse files
committed
Better solution than ca24b3f.
1 parent 7c97a98 commit f2382e7

File tree

3 files changed

+2
-15
lines changed

3 files changed

+2
-15
lines changed

debug_toolbar/templates/debug_toolbar/panels/sql.html

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
{% load i18n %}{% load url from future %}
2-
{% load debug_toolbar_utils %}
1+
{% load i18n l10n %}{% load url from future %}
32
<div class="clearfix">
43
<ul class="stats">
54
{% for alias, info in databases %}
@@ -35,7 +34,7 @@
3534
</div>
3635
</td>
3736
<td class="timeline">
38-
<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>
37+
<div class="djDebugTimeline"><div class="djDebugLineChart{% if query.is_slow %} djDebugLineChartWarning{% endif %}" style="left:{{ query.start_offset|unlocalize }}%;"><strong style="width:{{ query.width_ratio_relative|unlocalize }}%;">{{ query.width_ratio }}%</strong></div></div>
3938
</td>
4039
<td class="time">
4140
{{ query.duration|floatformat:"2" }}

debug_toolbar/templatetags/__init__.py

Whitespace-only changes.

debug_toolbar/templatetags/debug_toolbar_utils.py

Lines changed: 0 additions & 12 deletions
This file was deleted.

0 commit comments

Comments
 (0)