From 190b89db6f1ba364f299dba8431c2e84a54e6ef6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mat=C4=9Bj=20Koci=C3=A1n?= Date: Thu, 10 Sep 2015 10:50:04 +0200 Subject: [PATCH] =?UTF-8?q?Zobraz=20body=20u=20probl=C3=A9mu?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- seminar/templates/seminar/archiv/problem.html | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/seminar/templates/seminar/archiv/problem.html b/seminar/templates/seminar/archiv/problem.html index 921a5689..f2a6c39d 100644 --- a/seminar/templates/seminar/archiv/problem.html +++ b/seminar/templates/seminar/archiv/problem.html @@ -5,7 +5,14 @@ {% block content %}
{% if problem.cislo_zadani %} -

{% block nadpis1 %}{{ problem.nazev_typu }} {{ problem.kod_v_rocniku }}: {{ problem.nazev }}{% endblock %}

+

+ {% block nadpis1 %} + {{ problem.nazev_typu }} {{ problem.kod_v_rocniku }}: {{ problem.nazev }} + {% if problem.body %} + ({{ problem.body }}b) + {% endif %} + {% endblock %} +

Zadáno v čísle {{ problem.cislo_zadani.kod }}. {% if problem.cislo_reseni %}