Skip to content
Snippets Groups Projects
Commit fa096447 authored by Jiří Setnička's avatar Jiří Setnička
Browse files

Správné title a jednoduchá navigace v účastnické sekci

parent 213aa926
Branches
No related tags found
1 merge request!23Titulky stránek a drobečková navigace
This commit is part of merge request !23. Comments created here will be created in the context of that merge request.
......@@ -4,6 +4,11 @@
{% set state = round.state %}
{% block title %}{{ round.name }} {{ round.year }}. ročníku kategorie {{ round.category }}: {{ contest.place.name }}{% endblock %}
{% block breadcrumbs %}
<li><a href='{{ url_for('user_index') }}'>Soutěže</a>
<li><a href='{{ url_for('user_contest', id=contest.contest_id) }}'>{{ round.name }} {{ round.year }}. ročníku kategorie {{ round.category }}: {{ contest.place.name }}</a>
<li>Seznam úloh
{% endblock %}
{% block body %}
{% if state == RoundState.preparing %}
......
{% extends "base.html" %}
{% import "bootstrap/wtf.html" as wtf %}
{% block body %}
{% set round = contest.round %}
<h2>{{ round.name }} {{ round.year }}. ročníku kategorie {{ round.category }}: {{ contest.place.name }}</h2>
<h2>Úloha {{ task.code }}: {{ task.name }}</h2>
{% block title %}Úloha {{ task.code }}: {{ task.name }}{% endblock %}
{% block breadcrumbs %}
<li><a href='{{ url_for('user_index') }}'>Soutěže</a>
<li><a href='{{ url_for('user_contest', id=contest.contest_id) }}'>{{ round.name }} {{ round.year }}. ročníku kategorie {{ round.category }}: {{ contest.place.name }}</a>
<li>Úloha {{ task.code }}: {{ task.name }}
{% endblock %}
{% block body %}
<p><a href='{{ url_for('user_contest', id=contest.contest_id) }}'>↵ Zpět na seznam úloh</a>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment