Skip to content

Commit

Permalink
Merge pull request #113 from Design0r/patch-1
Browse files Browse the repository at this point in the history
Removing number 1 from first place in halloffame.html
  • Loading branch information
Bensge authored Aug 17, 2024
2 parents 0728fd0 + d0a94d2 commit 9db1e62
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 9db1e62

Please sign in to comment.