{% extends "base.html" %} {% block js %} function question_reply_toggle(element, invoker) { var obj = document.getElementsByClassName("reply_question")[element]; if (obj.style.display != "block") { obj.style.display = "block"; invoker.innerHTML = "Hide reply"; } else { obj.style.display = "none"; invoker.innerHTML = "Reply"; } return false; } function update_additional_answer(element, invoker) { var obj = document.getElementsByClassName("alternative_answer")[element]; if (invoker.selectedIndex == 5) obj.style.display = "block"; else obj.style.display = "none"; } {% endblock js %} {% block core %}

Participation of {{ selected_user.username }} in {{ contest.name }}

Submissions

Reevaluate all {{ submission_count }} submissions for this user in this contest (for all datasets) {{ ReevaluationButtons( url("contest", contest.id, "user", participation.user_id, "edit"), participation_id=participation.id) }}

{% set page_url = url["contest"][contest.id]["user"][selected_user.id]["edit"] %} {% include "fragments/submission_rows.html" %}

Participation information

{{ xsrf_form_html|safe }}
Team {% for t in teams %}
Password {% set hashed_password = participation.password %} {% include "fragments/hashed_password_form.html" %}
Hidden participation
Unrestricted participation
IP address or subnet
Time of first login (in UTC)
Delay
Extra time

Questions

{% if participation.questions != [] %}
{% for msg in participation.questions %}
{{ msg.question_timestamp }}
{{ msg.subject }}
{{ msg.text }}
{% if msg.reply_timestamp is not none %}
Reply. {{ msg.reply_subject }}
{{ msg.reply_text }}
{% else %}
Not yet replied.
{% endif %}

{{ xsrf_form_html|safe }} Precompiled answer:
Alternative answer:

{% endfor %}
{% else %} No questions. {% endif %}

Messages

{{ xsrf_form_html|safe }}
Subject:
Text:
{% if participation.messages != [] %} {% for msg in participation.messages|reverse %}
{{ msg.timestamp }}
{{ msg.subject }}
{{ msg.text }}

By: {{ msg.admin.name if msg.admin is not none else "" }}
{% endfor %} {% else %} No messages. {% endif %}
{% endblock core %}