{% if contestRatingConfig and (contestRatingConfig.enabled or contestRating) %} {{ set(UiContext, 'contestRatingHistory', contestRatingHistory or []) }}
  • {{ _('竞技 Rating') }}

    {% if contestRating %}
    {{ _('当前 Rating') }} {{ contestRating.rating|round }}
    {{ _('最高 Rating') }} {{ contestRating.maxRating|round }}
    {{ _('Rated 场次') }} {{ contestRating.ratedCount }}
    {{ _('段位') }}
    {% if contestRatingHistory and contestRatingHistory.length %} {% endif %} {% if contestRatingChanges and contestRatingChanges.length %} {% for row in contestRatingChanges %} {% endfor %}
    {{ _('日期') }} {{ _('比赛') }} {{ _('名次') }} {{ _('Rating') }} {{ _('变化') }}
    {% if row.ratedAt %}{{ datetimeSpan(row.ratedAt)|safe }}{% else %}-{% endif %} {{ row.contestTitle }} {% if row.rank %}#{{ row.rank }}{% else %}-{% endif %} {{ row.oldRating }} -> {{ row.newRating }} {% if row.delta > 0 %} +{{ row.delta }} {% elif row.delta < 0 %} {{ row.delta }} {% else %} 0 {% endif %}
    {% endif %} {% else %}

    {{ _('当前子域已启用竞技 Rating,但该用户还没有 Rated 比赛记录。') }}

    {% endif %}
  • {% endif %}