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.
38 lines
1.1 KiB
38 lines
1.1 KiB
{% extends "seminar/archiv/problem.html" %}
|
|
|
|
{% block problem %}
|
|
{% if problem.cislo_zadani %}
|
|
|
|
<h2>
|
|
{{ problem.nazev_typu }}:
|
|
{% block nadpis1a %}{% block nadpis1b %}
|
|
{{ problem.nazev }}
|
|
{% endblock %}{% endblock %}
|
|
</h2>
|
|
|
|
<div class='problem-autori'>
|
|
{% if problem.typ == 'res-clanek' %}
|
|
{# pozor na mezery #}
|
|
{% for r in reseni %}{% if not forloop.first %}, {% endif %}
|
|
{{ r.resitel.jmeno }} {{ r.resitel.prijmeni }}{% if r.body %} ({{ r.body }} b){% endif %}{% endfor %}
|
|
{% else %}
|
|
{{ problem.autor.first_name }}
|
|
{% if problem.autor.organizator.prezdivka %}
|
|
„{{ problem.autor.organizator.prezdivka }}“
|
|
{% endif %}
|
|
{{ problem.autor.last_name }}
|
|
{% endif %}
|
|
</div>
|
|
|
|
{% if problem.cislo_reseni %}
|
|
<p>Vyšlo v čísle <a href='{{ problem.cislo_reseni.verejne_url }}'>{{ problem.cislo_reseni.kod }}</a>.
|
|
{% endif %}
|
|
|
|
{% else %}
|
|
{# TODO ? #}
|
|
<h2>Problém {{ problem.nazev }}</h2>
|
|
{% endif %}
|
|
|
|
{{ problem.text_zadani |safe }}
|
|
|
|
{% endblock %}
|
|
|