Commit f4e554e1 authored by Robin Sonnabend's avatar Robin Sonnabend
Browse files

Do not publicly link the private protocol

parent eb04c4e1
......@@ -30,7 +30,7 @@
<a class="btn btn-default" href="{{url_for("update_protocol",}}">Protokoll editieren</a>
{% endif %}
{% if protocol.has_compiled_document() %}
<a class="btn btn-success" href="{{url_for("download_document", document_id=protocol.get_compiled_document().id)}}">Download</a>
<a class="btn btn-success" href="{{url_for("download_document", document_id=protocol.get_compiled_document(private=show_private).id)}}">Download</a>
{% endif %}
<h2>Protokoll: {{}} {% if is not none %}vom {{|datify}}{% endif %}</h2>
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment