{% extends "base.html" %} {% block body %}

{% if user.is_org %}Organizátor:{% elif user.is_admin %}Správce:{% else %}Soutěžící:{% endif %} {{ user.first_name }} {{ user.last_name }}

{% if user.is_admin %}{% endif %} {% if user.is_org %}{% endif %}
Jméno:{{ user.first_name }}
Příjmení:{{ user.last_name }}
E-mail:{{ user.email }}
Správce:ano
Organizátor:ano
Poznámka:{{ user.note }}
{% if can_edit %}
Editovat
{% endif %} {% if user.is_org or user.is_admin %}

Role

{% for role in user.roles %} {% endfor %}
RoleRočníkKategorieKoloOblast
{{ role.role.name }} {{ role.year or '*' }} {{ role.category or '*' }} {{ role.seq or '*' }} {{ role.place.type_name() + ": " + role.place.name or '*' }}
{% endif %}

Registrace v ročnících

{% if participants.count() %} {% for participant in participants %} {% endfor %}
RočníkŠkolaTřídaRok narození
{{ participant.year }} {{ participant.school_place.name }} {{ participant.grade }} {{ participant.birth_year }}
{% else %}

Žádná registrace v ročníku

{% endif %}

Účast v kolech

{% if rounds.count() %} {% for round in rounds %} {% endfor %}
RočníkKategorieKoloMístoStav účasti
{{ round.contest.round.year }} {{ round.contest.round.category }} {{ round.contest.round.seq }} {{ round.contest.place.name }} {% if round.place_id != round.contest.place_id %}
(ale soutěží v {{ round.place.name }}) {% endif %}
{{ round.state.name }}
{% else %}

Žádná účast v kole

{% endif %} {% endblock %}