From 7398d5f44c94fd9850b913aedc225dc5e8b7b471 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kate=C5=99ina=20=C4=8C=C3=AD=C5=BEkov=C3=A1?= Date: Wed, 19 Feb 2020 21:28:08 +0100 Subject: [PATCH] =?UTF-8?q?pr=C3=A1ce=20na=20str=C3=A1nce=20organiz=C3=A1t?= =?UTF-8?q?or=C5=AF=20-=20text=20o=20orgovi?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../seminar/cojemam/organizatori.html | 31 ++++++++----------- 1 file changed, 13 insertions(+), 18 deletions(-) diff --git a/seminar/templates/seminar/cojemam/organizatori.html b/seminar/templates/seminar/cojemam/organizatori.html index eab574c0..a3531f04 100644 --- a/seminar/templates/seminar/cojemam/organizatori.html +++ b/seminar/templates/seminar/cojemam/organizatori.html @@ -36,6 +36,11 @@ {{org.osoba.prijmeni}} + {% if org.osoba.email %} + {# zobrazeni e-mailu (na jednom radku, aby nevznikaly mezery navic) #} + {% for znak in org.osoba.email %}{% if znak == '@' %}<at>{% else %}{{znak}}{% endif %}{% endfor %} + {% endif %} + {# karta organizátora - zepředu fotka, zezadu popis, u neaktivních data kdy organizovali #}
@@ -54,26 +59,16 @@
- + {% else %} + Aktivní {{org.organizuje_od.year | default:"?" }}–{{org.organizuje_do.year | default:"?" }} + {% endif %}