Skip to content

Commit e8f6b0b

Browse files
committed
Re-add Alternate row color on profiling panel
Previously changed in #682, was removed in graingert@cf19370
1 parent 8dfd17a commit e8f6b0b

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
@@ -12,7 +12,7 @@
1212
</thead>
1313
<tbody>
1414
{% for call in func_list %}
15-
<tr class="djDebugProfileRow{% for parent_id in call.parent_ids %} djToggleDetails_{{ parent_id }}{% endfor %}" depth="{{ call.depth }}">
15+
<tr class="{% cycle 'djDebugOdd' 'djDebugEven' %} djDebugProfileRow{% for parent_id in call.parent_ids %} djToggleDetails_{{ parent_id }}{% endfor %}" depth="{{ call.depth }}">
1616
<td>
1717
<div data-padding-left="{{ call.indent }}px">
1818
{% if call.has_subfuncs %}

0 commit comments

Comments
 (0)