From 98f2ad12a72f32b5d8204cccdef6886baae14628 Mon Sep 17 00:00:00 2001 From: Tomas 'Jethro' Pokorny Date: Tue, 16 Feb 2021 20:22:08 +0100 Subject: [PATCH] Clanky | pokud je PDF s cislem, odkazat na nej. --- .../seminar/clanky/resitelske_clanky.html | 23 +++++++++++-------- 1 file changed, 14 insertions(+), 9 deletions(-) diff --git a/seminar/templates/seminar/clanky/resitelske_clanky.html b/seminar/templates/seminar/clanky/resitelske_clanky.html index 94fb27cc..bbda5839 100644 --- a/seminar/templates/seminar/clanky/resitelske_clanky.html +++ b/seminar/templates/seminar/clanky/resitelske_clanky.html @@ -9,15 +9,20 @@ {% for clanek in object_list %} -{% with clanek.cislo.rocnik.rocnik as rocnik %} - {% ifchanged rocnik %} - {% if not forloop.first %}{% endif %} -

{{ rocnik }}. ročník

- {% endif %} +

{{ rocnik }}. ročník

+