|
@ -16,55 +16,58 @@ |
|
|
<h3>Zadané problémy</h3> |
|
|
<h3>Zadané problémy</h3> |
|
|
<ul> |
|
|
<ul> |
|
|
{% for p in v_cisle_zadane %} |
|
|
{% for p in v_cisle_zadane %} |
|
|
<li><a href='{{ p.verejne_url }}'>{{ p.kod_v_rocniku }} {{ p.nazev }} {{ p.body_v_zavorce }}</a> |
|
|
<li>{# TODO zprovoznit odkazy, až bude na co <a href='{{ p.verejne_url }}'> #}{{ p.kod_v_rocniku }} {{ p.nazev }} {{ p.body_v_zavorce }}{# </a> #} |
|
|
{% endfor %} |
|
|
{% endfor %} |
|
|
</ul> |
|
|
</ul> |
|
|
|
|
|
|
|
|
<h3>Řešené problémy</h3> |
|
|
<h3>Řešené problémy</h3> |
|
|
<ul> |
|
|
<ul> |
|
|
{% for p in resene_problemy %} |
|
|
{% for p in resene_problemy %} |
|
|
<li><a href='{{ p.verejne_url }}'>{{ p.kod_v_rocniku }} {{ p.nazev }} {{ p.body_v_zavorce }}</a> |
|
|
<li>{# TODO zprovoznit odkazy, až bude na co <a href='{{ p.verejne_url }}'> #}{{ p.kod_v_rocniku }} {{ p.nazev }} {{ p.body_v_zavorce }}{# </a> #} |
|
|
{% endfor %} |
|
|
{% endfor %} |
|
|
</ul> |
|
|
</ul> |
|
|
|
|
|
|
|
|
{% if cislo.verejna_vysledkovka %} |
|
|
{% if cislo.verejna_vysledkovka %} |
|
|
<h3>Výsledkovka</h3> |
|
|
<h3>Výsledkovka</h3> |
|
|
{% else %} |
|
|
{% else %} |
|
|
<div class='mam-org-only'> |
|
|
{% if user.is_staff %} |
|
|
<h3>Výsledkovka (neveřejná)</h3> |
|
|
<div class='mam-org-only'> |
|
|
|
|
|
<h3>Výsledkovka (neveřejná)</h3> |
|
|
|
|
|
{% endif %} |
|
|
{% endif %} |
|
|
{% endif %} |
|
|
|
|
|
|
|
|
<table class='vysledkovka'> |
|
|
{% if cislo.verejna_vysledkovka or user.is_staff %} |
|
|
<tr class='border-b'> |
|
|
<table class='vysledkovka'> |
|
|
<th class='border-r'># |
|
|
<tr class='border-b'> |
|
|
<th class='border-r'>Jméno |
|
|
<th class='border-r'># |
|
|
{% for p in problemy %} |
|
|
<th class='border-r'>Jméno |
|
|
<th class='border-r'><a href="{{ p.verejne_url }}">{{ p.kod_v_rocniku }}</a> |
|
|
{% for p in problemy %} |
|
|
{% endfor %} |
|
|
<th class='border-r'>{# TODO <a href="{{ p.verejne_url }}"> #}{{ p.kod_v_rocniku }}{# </a> #} |
|
|
<th class='border-r'>Za číslo</sup> |
|
|
{% endfor %} |
|
|
<th class='border-r'>Za ročník |
|
|
<th class='border-r'>Za číslo</sup> |
|
|
<th class='border-r'>Odjakživa |
|
|
<th class='border-r'>Za ročník |
|
|
{% for rv in vysledkovka %} |
|
|
<th class='border-r'>Odjakživa |
|
|
<tr> |
|
|
{% for rv in vysledkovka %} |
|
|
<td class='border-r'>{% autoescape off %}{{ rv.poradi }}{% endautoescape %} |
|
|
<tr> |
|
|
<th class='border-r'> |
|
|
<td class='border-r'>{% autoescape off %}{{ rv.poradi }}{% endautoescape %} |
|
|
{% if rv.titul %} |
|
|
<th class='border-r'> |
|
|
{{ rv.titul }}<sup>MM</sup> |
|
|
{% if rv.titul %} |
|
|
{% endif %} |
|
|
{{ rv.titul }}<sup>MM</sup> |
|
|
{{ rv.resitel.plne_jmeno }} |
|
|
{% endif %} |
|
|
{% for b in rv.body_ulohy %} |
|
|
{{ rv.resitel.plne_jmeno }} |
|
|
<td class='border-r'>{{ b }} |
|
|
{% for b in rv.body_ulohy %} |
|
|
{% endfor %} |
|
|
<td class='border-r'>{{ b }} |
|
|
<td class='border-r'>{{ rv.body_cislo }} |
|
|
{% endfor %} |
|
|
<td class='border-r'><b>{{ rv.body_celkem_rocnik }}</b> |
|
|
<td class='border-r'>{{ rv.body_cislo }} |
|
|
<td class='border-r'>{{ rv.body_celkem_odjakziva }} |
|
|
<td class='border-r'><b>{{ rv.body_celkem_rocnik }}</b> |
|
|
</tr> |
|
|
<td class='border-r'>{{ rv.body_celkem_odjakziva }} |
|
|
{% endfor %} |
|
|
</tr> |
|
|
</table> |
|
|
{% endfor %} |
|
|
|
|
|
</table> |
|
|
|
|
|
{% endif %} |
|
|
|
|
|
|
|
|
{% if cislo.verejna_vysledkovka %} |
|
|
{% if not cislo.verejna_vysledkovka and user.is_staff %} |
|
|
{% else %} |
|
|
</div> |
|
|
</div> |
|
|
|
|
|
{% endif %} |
|
|
{% endif %} |
|
|
|
|
|
|
|
|
</div> |
|
|
</div> |
|
|