mirror of
https://github.com/FAUSheppy/open-web-leaderboard.git
synced 2025-12-06 07:01:36 +01:00
fix indexing for <100 players
This commit is contained in:
@@ -29,9 +29,6 @@
|
|||||||
<div class=colum-names>{{ columNames }}</div>
|
<div class=colum-names>{{ columNames }}</div>
|
||||||
{% for player in playerList %}
|
{% for player in playerList %}
|
||||||
{% set count = loop.index + start %}
|
{% set count = loop.index + start %}
|
||||||
{% if count == 0 %}
|
|
||||||
{% set count = 1 %}
|
|
||||||
{% endif %}
|
|
||||||
{% if count % 2 == 0 %}
|
{% if count % 2 == 0 %}
|
||||||
<div class="line-even {% if searchName == player.name %}targetPlayer{% endif %}">
|
<div class="line-even {% if searchName == player.name %}targetPlayer{% endif %}">
|
||||||
{{ player.getLineHTML(count) }}
|
{{ player.getLineHTML(count) }}
|
||||||
|
|||||||
Reference in New Issue
Block a user