{% extends "base.html" %} {% import "bootstrap/wtf.html" as wtf %} {% set contest=ctx.contest %} {% set edit_points = not ctx.site and rights.can_edit_points() %} {% set edit_create = rights.can_create_solutions() %} {% set edit_title = "Zadávání bodů" if edit_points else "Zakládání řešení" %} {% block title %}{{ edit_title if edit_form else "Odevzdaná řešení" }} úlohy {{ ctx.task.code }}
{{ ctx.task.name }}{% endblock %} {% block breadcrumbs %} {{ ctx.breadcrumbs(action=edit_title if edit_form else None) }} {% endblock %} {% block pretitle %}

Soutěž {{ contest.place.name_locative() }}

Účastníci Tabulka řešení {% if contest.state in [RoundState.grading, RoundState.closed] %} Výsledky {% endif %}
{% endblock %} {% block body %} {% include "parts/org_submit_warning.html" %} {% if edit_form %}
{{ edit_form.csrf_token }} {% endif %} {% with for_user=None, for_task=ctx.task, rows=rows, cancel_url=ctx.url_for('org_contest_task') %} {% include "parts/org_solution_table.html" %} {% endwith %} {% if edit_form %}
{% else %}

Stáhnout ZIP řešení {% if rights.can_upload_feedback() %} Nahrát ZIP řešení {% endif %} {% if allow_create_solutions %} Založit řešení {% endif %} {% if edit_points or edit_create %} {% if edit_points %}Zadat body{% else %}Založit řešení{% endif %} {% endif %}

{% endif %} {% endblock %}