Skip to content

Commit 6270a9e

Browse files
committed
Merge pull request #682 from zborboa-google/patch-1
Alternate row color on profiling panel
2 parents 5a63ca6 + eeec67c commit 6270a9e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

debug_toolbar/templates/debug_toolbar/panels/profiling.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
<tbody>
1414
{% for call in func_list %}
1515
<!-- style="background:{{ call.background }}" -->
16-
<tr class="djDebugProfileRow{% for parent_id in call.parent_ids %} djToggleDetails_{{ parent_id }}{% endfor %}" depth="{{ call.depth }}">
16+
<tr class="{% cycle 'djDebugOdd' 'djDebugEven' %} djDebugProfileRow{% for parent_id in call.parent_ids %} djToggleDetails_{{ parent_id }}{% endfor %}" depth="{{ call.depth }}">
1717
<td>
1818
<div style="padding-left: {{ call.indent }}px;">
1919
{% if call.has_subfuncs %}

0 commit comments

Comments
 (0)