From ad45b0a23b5fca93794d024cc3bc9cfb7d6184ab Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jon=C3=A1=C5=A1=20Havelka?= Date: Tue, 22 Nov 2022 00:24:57 +0100 Subject: [PATCH] =?UTF-8?q?Fix:=20=C4=8D=C3=A1rky=20v=20detailu=20=C5=99e?= =?UTF-8?q?=C5=A1en=C3=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- odevzdavatko/templates/odevzdavatko/detail.html | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/odevzdavatko/templates/odevzdavatko/detail.html b/odevzdavatko/templates/odevzdavatko/detail.html index 7448f71e..2e4ad53a 100644 --- a/odevzdavatko/templates/odevzdavatko/detail.html +++ b/odevzdavatko/templates/odevzdavatko/detail.html @@ -12,8 +12,7 @@

Řešené problémy: {{ object.problem.all | join:", " }}

-

Řešitelé: {% for r in object.resitele.all %} {{ r }} {% if edit %}({{ r.osoba.email }}){% endif %} -{% if forloop.revcounter0 != 0 %}, {% endif %} {% endfor %}

+

Řešitelé: {% for r in object.resitele.all %}{{ r }}{% if edit %}({{ r.osoba.email }}){% endif %}{% if forloop.revcounter0 != 0 %}, {% endif %} {% endfor %}

{# https://docs.djangoproject.com/en/3.1/ref/models/instances/#django.db.models.Model.get_FOO_display #}

Forma: {{ object.get_forma_display }}