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

{{ activeSeason.title if activeSeason else _('Rating 赛季榜') }}

{% if activeSeason %}
{% endif %}
{% if not config.enabled %}
{{ _('当前子域未启用 Rating 赛季。') }}
{% elif not activeSeason %} {{ nothing.render('还没有当前赛季。') }} {% elif not rows.length %} {{ nothing.render('这个赛季还没有 Rating 变化。') }} {% else %} {% for row in rows %} {% endfor %}
{{ _('排名') }} {{ _('用户') }} {{ _('赛季变化') }} {{ _('当前 Rating') }} {{ _('段位') }} {{ _('场次') }} {{ _('最佳名次') }} {{ _('最近比赛') }}
{{ row.rank }} {% if udict[row.uid] %}{{ user.render_inline(udict[row.uid], badge=false) }}{% else %}UID {{ row.uid }}{% endif %} {% if row.delta > 0 %}+{{ row.delta }}{% elif row.delta < 0 %}{{ row.delta }}{% else %}0{% endif %} {{ row.lastRating|round }} {{ row.title }} {{ row.contests }} {{ row.bestRank or '-' }} {{ row.lastContestTitle or '-' }}
{{ paginator.render(page, pageCount) }} {% endif %}
{% endblock %}