{% extends "base.html" %} {% import "bootstrap/wtf.html" as wtf %} {% block title %}Seznam účastníků kola {{ round.round_code() }}{% endblock %} {% block breadcrumbs %} {{ contest_breadcrumbs(round=round, action="Seznam účastníků") }} {% endblock %} {% set id = round.round_id %} {% block body %}
{{ wtf.form_field(filter.contest_place, placeholder='Kód', size=8) }} {{ wtf.form_field(filter.participation_place, placeholder='Kód', size=8) }} {{ wtf.form_field(filter.school, placeholder='Kód', size=8) }} {{ wtf.form_field(filter.participation_state) }}
{{ wtf.form_field(filter.submit, class='btn btn-primary') }} {% if table %} {% endif %}
{% if table %}
Stránka {{ filter.offset.data // filter.limit.data + 1}} z {{ (count / filter.limit.data)|round(0, 'ceil')|int }}:
{% if filter.offset.data > 0 %} {{ wtf.form_field(filter.previous) }} {% else %} {% endif %} {% if count > filter.offset.data + filter.limit.data %} {{ wtf.form_field(filter.next) }} {% else %} {% endif %}
{% set max = filter.offset.data + filter.limit.data if filter.offset.data + filter.limit.data < count else count %} Zobrazuji záznamy {{filter.offset.data + 1}}{{ max }} z {{count}} nalezených účastníků. {% else %} Celkem {{count|inflected('nalezený účastník', 'nalezení účastníci', 'nalezených účastníků')}}. {% endif %}
{% if table %} {% include 'parts/org_participants_table_actions.html' %} {% if form_actions %}
Upozornění: Můžete editovat jen účastníky soutěžící v oblastech, ke kterým máte právo. {% endif %} {% else %} {% include 'parts/org_participants_emails.html' %} {% endif %} {% endblock %}