show protocol if user is logged in and prot is available
This commit is contained in:
@@ -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 %}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user