|
|
@ -1,23 +1,22 @@ |
|
|
|
{% extends "base.html" %} |
|
|
|
{% load staticfiles sekizai_tags %} |
|
|
|
|
|
|
|
{% block content %} |
|
|
|
<div> |
|
|
|
<h2>Číslo {{ cislo }}</h2> |
|
|
|
|
|
|
|
<p><a href='{% url 'seminar.rocnik' cislo.rocnik.id %}'>Ročník {{ cislo.rocnik }}</a> |
|
|
|
<p><a href='{{ cislo.rocnik.verejne_url }}'>Ročník {{ cislo.rocnik }}</a> |
|
|
|
|
|
|
|
<h3>Zadané problémy</h3> |
|
|
|
<ul> |
|
|
|
{% for p in cislo.zadane_problemy.all %} |
|
|
|
<li><a href='{% url 'seminar.problem' p.id %}'>{{ p.kod_v_rocniku }} {{ p.nazev }} ({{ p.body }}b)</a> |
|
|
|
<li><a href='{{ p.verejne_url }}'>{{ p.kod_v_rocniku }} {{ p.nazev }} ({{ p.body }}b)</a> |
|
|
|
{% endfor %} |
|
|
|
</ul> |
|
|
|
|
|
|
|
<h3>Řešené problémy</h3> |
|
|
|
<ul> |
|
|
|
{% for p in cislo.resene_problemy.all %} |
|
|
|
<li><a href='{% url 'seminar.problem' p.id %}'>{{ p.kod_v_rocniku }} {{ p.nazev }} ({{ p.body }}b)</a> |
|
|
|
<li><a href='{{ p.verejne_url }}'>{{ p.kod_v_rocniku }} {{ p.nazev }} ({{ p.body }}b)</a> |
|
|
|
{% endfor %} |
|
|
|
</ul> |
|
|
|
|
|
|
@ -28,7 +27,7 @@ |
|
|
|
<th class='border-r'># |
|
|
|
<th class='border-r'>Jméno |
|
|
|
{% for p in problemy %} |
|
|
|
<th class='border-r'><a href="{% url 'seminar.problem' p.id %}">{{ p.cislo_zadani.cislo }}.{{ p.kod }}</a> |
|
|
|
<th class='border-r'><a href="{{ p.verejne_url }}">{{ p.cislo_zadani.cislo }}.{{ p.kod }}</a> |
|
|
|
{% endfor %} |
|
|
|
<th class='border-r'>Sum |
|
|
|
<th>Celkem |
|
|
|