From 6b3cba10bb81ae97fbe0bf2380bd7d17e1ed06a8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jon=C3=A1=C5=A1=20Havelka?= Date: Sun, 9 Oct 2022 22:27:57 +0200 Subject: [PATCH] =?UTF-8?q?Hotfix=20e-mail=C5=AF=20(proti=20spamu)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- seminar/templates/seminar/cojemam/organizatori.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/seminar/templates/seminar/cojemam/organizatori.html b/seminar/templates/seminar/cojemam/organizatori.html index cc2f3913..799bbe49 100644 --- a/seminar/templates/seminar/cojemam/organizatori.html +++ b/seminar/templates/seminar/cojemam/organizatori.html @@ -29,7 +29,7 @@
- {% if org.osoba.email %} + {% if org.osoba.email and user.is_authenticated %} {# zobrazeni e-mailu (na jednom radku, aby nevznikaly mezery navic) #} {% for znak in org.osoba.email %}{% if znak == '@' %}@{% else %}{{znak}}{% endif %}{% endfor %} {% endif %}