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> <h2>Agenda</h2>
{{ post.agenda_html|safe }} {{ post.agenda_html|safe }}
<hr> <hr>
{% elif post.body %}
{{ post.body|safe|add_internal_links|tags_to_url }}
<hr>
{% endif %} {% endif %}
{% if post.body and post.body != "None" %} {% if request.user.is_authenticated and post.has_protocol %}
{{ post.body|safe|add_internal_links|tags_to_url }} <h2>Protokoll</h2>
{{ post.protocol_html|safe }}
<hr> <hr>
{% endif %} {% endif %}