diff --git a/templates/protocol-show.html b/templates/protocol-show.html index 8e132659c19006bc3beedeef73ca8bb0ed465e48..47d116b8b4633843f4886d5b13b9aabf77d584f5 100644 --- a/templates/protocol-show.html +++ b/templates/protocol-show.html @@ -60,9 +60,11 @@ {% 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> {% endif %} - {% for meta in protocol.metas %} - <p><strong>{{meta.name}}:</strong> {{meta.value}}</p> - {% endfor %} + {% if has_public_view_right %} + {% for meta in protocol.metas %} + <p><strong>{{meta.name}}:</strong> {{meta.value}}</p> + {% endfor %} + {% endif %} {% else %} {% if protocol.date is not none %}<p><strong>Geplant:</strong> {{protocol.date|datify_long}}{% endif %}</p> {% endif %}