From ce7bb12bf656e54eb08c9e5c9e0df81f83642021 Mon Sep 17 00:00:00 2001 From: patrick Date: Wed, 10 Feb 2021 15:08:33 +0000 Subject: [PATCH] show protocol if user is logged in and prot is available --- fet2020/templates/posts/show.html | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/fet2020/templates/posts/show.html b/fet2020/templates/posts/show.html index c319fc3d..52c56c87 100644 --- a/fet2020/templates/posts/show.html +++ b/fet2020/templates/posts/show.html @@ -65,10 +65,14 @@

Agenda

{{ post.agenda_html|safe }}
+ {% elif post.body %} + {{ post.body|safe|add_internal_links|tags_to_url }} +
{% endif %} - {% if post.body and post.body != "None" %} - {{ post.body|safe|add_internal_links|tags_to_url }} + {% if request.user.is_authenticated and post.has_protocol %} +

Protokoll

+ {{ post.protocol_html|safe }}
{% endif %}