Web M&M
https://mam.matfyz.cz
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
75 lines
2.2 KiB
75 lines
2.2 KiB
{% extends "seminar/archiv/base_cisla.html" %}
|
|
|
|
{% block content %}
|
|
<div>
|
|
<h2>
|
|
{% block nadpis1a %}{% block nadpis1b %}
|
|
Číslo {{ cislo }}
|
|
{% endblock %}{% endblock %}
|
|
</h2>
|
|
|
|
{% if cislo.pdf %}
|
|
<p><a href='{{ cislo.pdf.url }}'>Číslo v pdf</a>
|
|
{% endif %}
|
|
<p><a href='{{ cislo.rocnik.verejne_url }}'>Ročník {{ cislo.rocnik }}</a>
|
|
|
|
<h3>Zadané problémy</h3>
|
|
<ul>
|
|
{% for p in v_cisle_zadane %}
|
|
<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 %}
|
|
</ul>
|
|
|
|
<h3>Řešené problémy</h3>
|
|
<ul>
|
|
{% for p in resene_problemy %}
|
|
<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 %}
|
|
</ul>
|
|
|
|
{% if cislo.verejna_vysledkovka %}
|
|
<h3>Výsledkovka</h3>
|
|
{% else %}
|
|
{% if user.is_staff %}
|
|
<div class='mam-org-only'>
|
|
<h3>Výsledkovka (neveřejná)</h3>
|
|
{% endif %}
|
|
{% endif %}
|
|
|
|
{% if cislo.verejna_vysledkovka or user.is_staff %}
|
|
<table class='vysledkovka'>
|
|
<tr class='border-b'>
|
|
<th class='border-r'>#
|
|
<th class='border-r'>Jméno
|
|
{% for p in problemy %}
|
|
<th class='border-r'>{# TODO <a href="{{ p.verejne_url }}"> #}{{ p.kod_v_rocniku }}{# </a> #}
|
|
{% endfor %}
|
|
<th class='border-r'>Za číslo</sup>
|
|
<th class='border-r'>Za ročník
|
|
<th class='border-r'>Odjakživa
|
|
{% for rv in vysledkovka %}
|
|
<tr>
|
|
<td class='border-r'>{% autoescape off %}{{ rv.poradi }}{% endautoescape %}
|
|
<th class='border-r'>
|
|
{% if rv.titul %}
|
|
{{ rv.titul }}<sup>MM</sup>
|
|
{% endif %}
|
|
{{ rv.resitel.plne_jmeno }}
|
|
{% for b in rv.body_ulohy %}
|
|
<td class='border-r'>{{ b }}
|
|
{% endfor %}
|
|
<td class='border-r'>{{ rv.body_cislo }}
|
|
<td class='border-r'><b>{{ rv.body_celkem_rocnik }}</b>
|
|
<td class='border-r'>{{ rv.body_celkem_odjakziva }}
|
|
</tr>
|
|
{% endfor %}
|
|
</table>
|
|
{% endif %}
|
|
|
|
{% if not cislo.verejna_vysledkovka and user.is_staff %}
|
|
</div>
|
|
{% endif %}
|
|
|
|
</div>
|
|
{% endblock content %}
|
|
|
|
|