From ae83838efc789628e59675b306812e19a1e28acd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jon=C3=A1=C5=A1=20Havelka?= Date: Mon, 6 Feb 2023 20:57:43 +0100 Subject: [PATCH] =?UTF-8?q?fix:=20skr=C3=BDt=20teamovou=20=C4=8D=C3=A1st?= =?UTF-8?q?=20p=C5=99i=20jednom=20=C5=99e=C5=A1iteli=20v=20=C5=99e=C5=A1en?= =?UTF-8?q?=C3=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- odevzdavatko/templates/odevzdavatko/detail.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/odevzdavatko/templates/odevzdavatko/detail.html b/odevzdavatko/templates/odevzdavatko/detail.html index f30bad85..ec4e13c0 100644 --- a/odevzdavatko/templates/odevzdavatko/detail.html +++ b/odevzdavatko/templates/odevzdavatko/detail.html @@ -4,7 +4,7 @@ {# Přišlo mi to hezčí, než psát všude if. #} {% block custom_css %} - {% if object.resitele|length == 1 %} + {% if object.resitele.count == 1 %} {% endif %} {% endblock %}