{% import "components/nothing.html" as nothing with context %} {% import "components/user.html" as user with context %} {% import "components/paginator.html" as paginator with context %} {% extends "layout/basic.html" %} {% block content %}

{{ _('Rating Leaderboard') }}

{{ _('Total {0} users').format(total) }}
{% if not leaderboard.length %} {{ nothing.render('No rating data available yet...') }} {% else %}
{%- for rating in leaderboard -%} {%- endfor -%}
{{ _('Rank') }} {{ _('User') }} {{ _('Current Rating') }} {{ _('Max Rating') }} {{ _('Contests') }} {{ _('Last Update') }}
{{ rating.rank }} {{ rating.rating }} {{ rating.maxRating }} {{ rating.contestCount }} {{ datetimeSpan(rating.lastUpdate)|safe }}
{% if pages > 1 %} {% endif %} {% endif %}
{% endblock %}