{% extends "user/base-users-table.html" %} {% set friends = request.profile.get_friends() if request.user.is_authenticated else {} %} {% block after_rank_head %} {% if has_rating %} {{ _('Rating') }} {% endif %} {{ _('Organization') }} {% endblock %} {% block after_rank %} {% if has_rating %} {% if user.participation_rating %}{{ rating_number(user.participation_rating) }}{% endif %} {% endif %} {% if user.organization %} {{- user.organization.short_name -}} {% endif %} {% endblock %} {% block user_data %} {% if is_organizer %}
{% csrf_token %} {% if user.participation.is_disqualified %} {% else %} {% endif %}
{% if perms.judge.change_contestparticipation %} {% endif %}
{% endif %} {% endblock %} {% block before_point_head %} {% for problem in problems %} {{- loop.index }}
{{ problem.points }}
{% endfor %} {% endblock %} {% block row_extra %} class="{{ 'disqualified' if user.participation.is_disqualified }} {{ 'friend' if user.username in friends }} {{'highlight' if user.username == request.user.username}}" {% endblock %} {% block before_point %} {% for cell in user.problem_cells %} {{ cell }} {% endfor %} {% endblock %} {% block point %} {{ user.result_cell }} {% endblock %}