From e4971a7c0878d1fef286d14491170e6bea0e7bd8 Mon Sep 17 00:00:00 2001 From: Patrick Mayr Date: Mon, 13 Jun 2022 21:58:33 +0000 Subject: [PATCH] add if condition --- fet2020/templates/posts/show.html | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/fet2020/templates/posts/show.html b/fet2020/templates/posts/show.html index a0943464..d045bca7 100644 --- a/fet2020/templates/posts/show.html +++ b/fet2020/templates/posts/show.html @@ -116,19 +116,23 @@ Event-Ende: {{ post.event_end|date }} um {{ post.event_end|time }} Uhr + {% if post.event_place %}
Event-Ort: {{ post.event_place }}
+ {% endif %} {% endif %} @@ -165,7 +169,9 @@ {% endif %}