Skip to content

Commit

Permalink
Removing number 1 from first place in halloffame.html
Browse files Browse the repository at this point in the history
  • Loading branch information
Design0r authored Aug 17, 2024
1 parent 0728fd0 commit d0a94d2
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions spybot/templates/spybot/halloffame.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,10 @@ <h3 class="card-title">Top Users</h3>
<div class="row align-items-center">
<div class="col-auto">
<span class="avatar bg-medal {% if forloop.counter0 < 5 %}medal-gold{% elif forloop.counter0 < 10 %}medal-silver{% elif forloop.counter0 < 15 %}medal-bronze{% endif %}">
{{ forloop.counter }}
{% if forloop.counter0 == 0 %}
{% tabler_icon 'trophy' %}
{% tabler_icon 'trophy' %}
{% else %}
{{ forloop.counter }}
{% endif %}
</span>
</div>
Expand Down Expand Up @@ -114,4 +115,4 @@ <h3 class="card-title">Top Users</h3>
--icon-color: 127, 67, 6;
}
</style>
{% endblock content %}
{% endblock content %}

0 comments on commit d0a94d2

Please sign in to comment.