Skip to content
Snippets Groups Projects
Commit 3f985921 authored by Administrator's avatar Administrator
Browse files

Do not show metadata in public version for unpublished protocols

parent c9018e89
No related branches found
No related tags found
No related merge requests found
...@@ -60,9 +60,11 @@ ...@@ -60,9 +60,11 @@
{% if protocol.start_time is not none and protocol.end_time is not none %} {% if protocol.start_time is not none and protocol.end_time is not none %}
<p><strong>Zeit:</strong> von {{protocol.start_time|timify}} bis {{protocol.end_time|timify}}</p> <p><strong>Zeit:</strong> von {{protocol.start_time|timify}} bis {{protocol.end_time|timify}}</p>
{% endif %} {% endif %}
{% if has_public_view_right %}
{% for meta in protocol.metas %} {% for meta in protocol.metas %}
<p><strong>{{meta.name}}:</strong> {{meta.value}}</p> <p><strong>{{meta.name}}:</strong> {{meta.value}}</p>
{% endfor %} {% endfor %}
{% endif %}
{% else %} {% else %}
{% if protocol.date is not none %}<p><strong>Geplant:</strong> {{protocol.date|datify_long}}{% endif %}</p> {% if protocol.date is not none %}<p><strong>Geplant:</strong> {{protocol.date|datify_long}}{% endif %}</p>
{% endif %} {% endif %}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment