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

Submit list: Odkaz na stránku místa a sjednocení "drobečkového" nadpisu

parent bb5d9136
Branches
No related tags found
2 merge requests!13Tabulky řešení,!9WIP: Zárodek uživatelské části webu a submitování
{% extends "base.html" %} {% extends "base.html" %}
{% import "bootstrap/wtf.html" as wtf %} {% import "bootstrap/wtf.html" as wtf %}
{% block body %} {% block body %}
{% set site_id = sc.site.place_id if sc.site else None %}
<h2> <h2>
<a href='{{ url_for('org_round', id=sc.contest.round_id) }}'>Kolo {{ sc.contest.round.round_code() }}</a> <a href='{{ url_for('org_round', id=sc.round.round_id) }}'>Kolo {{ sc.round.round_code() }}</a>
{% if for_site %} » <a href='{{ url_for('org_contest', id=sc.contest.contest_id) }}'>{{ sc.contest.place.name }}</a>
{# FIXME: Odkaz na stránku místa #} {% if sc.site %} » <a href='{{ url_for('org_contest', id=sc.contest.contest_id, site_id=site_id) }}'>soutěžní místo {{ sc.site.name }}</a> {% endif %}
» místo <a href="{{ url_for('org_contest', id=sc.contest.contest_id) }}">{{ pion.place.name }}</a> » <a href='{{ url_for('org_contest_task_submits', contest_id=sc.contest.contest_id, site_id=site_id, task_id=sc.task.task_id) }}'>{{ sc.task.code }} {{ sc.task.name }}</a>
{% else %}
» <a href="{{ url_for('org_contest', id=sc.contest.contest_id) }}">{{ sc.contest.place.name }}</a>
{% endif %}
» {{ sc.user.full_name() }} » {{ sc.user.full_name() }}
» {{ sc.task.code }}
</h2> </h2>
<h3>Odevzdaná řešení</h3> <h3>Odevzdaná řešení</h3>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment