Skip to content
Snippets Groups Projects
Unverified Commit ba964498 authored by Tim van Dijen's avatar Tim van Dijen Committed by GitHub
Browse files

statistics: fix alternating row-style

parent 1ee5eaa5
No related branches found
No related tags found
No related merge requests found
...@@ -193,10 +193,9 @@ ...@@ -193,10 +193,9 @@
<th>{{ keyName }}</th> <th>{{ keyName }}</th>
{% endfor %} {% endfor %}
</tr> </tr>
{% set i = 0 %}
{% for slot, dd in debugdata %} {% for slot, dd in debugdata %}
{% if i % 2 == 0 %} {% if loop.index0 % 2 == 0 %}
{% set class = 'even' %} {% set class = 'even' %}
{% else %} {% else %}
{% set class = 'odd' %} {% set class = 'odd' %}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment