fix indexing for <100 players

This commit is contained in:
Yannik Schmidt
2019-07-07 17:24:14 +02:00
parent f27faa4c1f
commit c6cef3a723

View File

@@ -29,9 +29,6 @@
<div class=colum-names>{{ columNames }}</div>
{% for player in playerList %}
{% set count = loop.index + start %}
{% if count == 0 %}
{% set count = 1 %}
{% endif %}
{% if count % 2 == 0 %}
<div class="line-even {% if searchName == player.name %}targetPlayer{% endif %}">
{{ player.getLineHTML(count) }}