show protocol if user is logged in and prot is available

This commit is contained in:
2021-02-10 15:08:33 +00:00
parent a252fdd4c3
commit ce7bb12bf6

View File

@@ -65,10 +65,14 @@
<h2>Agenda</h2>
{{ post.agenda_html|safe }}
<hr>
{% elif post.body %}
{{ post.body|safe|add_internal_links|tags_to_url }}
<hr>
{% 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 %}
<h2>Protokoll</h2>
{{ post.protocol_html|safe }}
<hr>
{% endif %}