Zobraz body u problému

This commit is contained in:
Matěj Kocián 2015-09-10 10:50:04 +02:00
parent da988f27e6
commit 190b89db6f

View file

@ -5,7 +5,14 @@
{% block content %}
<div>
{% if problem.cislo_zadani %}
<h2>{% block nadpis1 %}{{ problem.nazev_typu }} {{ problem.kod_v_rocniku }}: {{ problem.nazev }}{% endblock %}</h2>
<h2>
{% block nadpis1 %}
{{ problem.nazev_typu }} {{ problem.kod_v_rocniku }}: {{ problem.nazev }}
{% if problem.body %}
({{ problem.body }}b)
{% endif %}
{% endblock %}
</h2>
<p>Zadáno v čísle <a href='{{ problem.cislo_zadani.verejne_url }}'>{{ problem.cislo_zadani.kod }}</a>.
{% if problem.cislo_reseni %}