{% extends "hkis/layout.html" %} {% load i18n %} {% load static %} {% block title %}{% trans "Leaderboard" %}{% endblock %} {% block container %}

Leaderboard

{% for player in page_obj %} {% if player.hkis %} {% endif %} {% endfor %}
# Points Username Team
{{ forloop.counter0|add:page_obj.start_index }} {{ player.hkis.points|floatformat:"0" }} {% if player.hkis.public_profile %} {{ player.username }} {% if player.is_superuser %}(staff){% endif %} {% else %} (anonymous) {% endif %} {% for team in player.hkis.public_teams %}{% if forloop.counter > 1 %}, {% endif %}{{ team }}{% endfor %}
{% endblock %}