Skip to content
Snippets Groups Projects
Commit 89ee5475 authored by Martin Mareš's avatar Martin Mareš
Browse files

Chybějící šablona

parent d6452cfa
No related branches found
No related tags found
No related merge requests found
{% extends "base.html" %}
{% import "bootstrap/wtf.html" as wtf %}
{% block title %}
Ukončení soutěží kola {{ ctx.round.round_code_short() }}{% if ctx.hier_id is not none %}: {{ ctx.hier_place.name }}{% endif %}
{% endblock %}
{% block breadcrumbs %}
{{ ctx.breadcrumbs(action="Ukončit soutěže") }}
{% endblock %}
{% block body %}
<p>V oblasti se nachází {{ num_contests|inflected('soutěž', 'soutěže', 'soutěží') }},
{% if num_nonclosed_contests > 0 %}
z toho {{ num_nonclosed_contests|inflected('neukončená', 'neukončené', 'neukončených') }}.
{% else %}
všechny soutěže jsou ukončené.
{% endif %}
{% if errors %}
<div class='alert alert-danger'>
<p>V nastavení soutěží byly nalezeny následující problémy:
<ul>
{% for e in errors %}
<li>{{ e }}
{% endfor %}
</ul>
{% if num_nonclosed_contests > 0 %}
<p>Pokud přesto chcete soutěže ukončit, použijte tlačíko „Ukončit s chybami“.
{% endif %}
</div>
{% endif %}
{{ wtf.quick_form(form, form_type='inline', button_map={'submit': 'primary', 'force_submit': 'danger'}) }}
{% endblock %}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment