{% extends "base.html" %} {% import "bootstrap/wtf.html" as wtf %} {% block title %}Přístup pro organizátory{% endblock %} {% block body %} {% include "parts/check_dsn.html" %} {% if overview %}

Moje soutěže

{% set curr = namespace(category="") %} {% for o in overview %} {% if curr.category != o.round.category %} {% set curr.category = o.round.category %} {% endif %} {% set create = not o.contest and o.place.level == o.round.level %} {% if o.contest %} {% if o.place == o.contest.place %} {% set detail_url = url_for('org_contest', ct_id=o.contest.contest_id) %} {% else %} {% set detail_url = url_for('org_contest', ct_id=o.contest.contest_id, site_id=o.place.place_id) %} {% endif %} {% elif o.place.level == 0 %} {% set detail_url = url_for('org_round', round_id=o.round.round_id) %} {% else %} {% set detail_url = url_for('org_round', round_id=o.round.round_id, hier_id=o.place.place_id) %} {% endif %}
ID Kategorie Kolo Místo Stav Statistiky Moje role Odkazy
{{ o.round.round_code() }} {{ o.round.category }} {{ o.round.name }} {% if o.contest %} {% if o.place == o.contest.place %} {{ o.place.name }} {% else %} {{ o.contest.place.name }} {{ o.place.name_locative() }} {% endif %} {% elif create %} {{ o.place.name }} {% else %} {{ o.place.name_locative() }} {% endif %} {% for s in o.contest_states %}{% if not loop.first %}
{% endif %}{{ s.friendly_name() }}{% endfor %} {% if create %}
{% else %} {% if not o.contest %}{{ o.num_contests }}S / {% endif %} {{- o.num_active_pants }}U {%- if o.num_unconfirmed_pants %} / {{ o.num_unconfirmed_pants }}P{% endif %} {% endif %} {% for r in o.role_list %}{{ role_type_names[r] }}{% if not loop.last %}
{% endif %}{% endfor %} {% if create %}
{{ form_add_contest.csrf_token() }}
{% else %}
Detail {% endif %} {% endfor %}
{% else %}

Momentálně neorganizujete žádnou soutěž. {% endif %} {% if show_certs_link %}

Ocenění Vašich studentů
{% endif %} {% if g.user.is_admin %}

Nástroje pro správce

Nedoručenky
{% endif %} {% endblock %}