fix indexing for <100 players

This commit is contained in:
Yannik Schmidt
2019-07-07 17:22:23 +02:00
parent 8c2b5b22a9
commit f27faa4c1f

View File

@@ -29,6 +29,9 @@
<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) }}