Protokoll: {{protocol.protocoltype.name}} {% if protocol.date is not none %}vom {{protocol.date|datify}}{% endif %}
{% if protocol.is_done() %}
{% if protocol.date is not none %}
Datum: {{protocol.date|datify_long}}
{% endif %}
{% if protocol.start_time is not none and protocol.end_time is not none %}
Zeit: von {{protocol.start_time|timify}} bis {{protocol.end_time|timify}}
{% endif %}
{% if protocol.location is not none %}
Ort: {{protocol.location}}
{% endif %}
{% if protocol.author is not none %}
Protokollant: {{protocol.author}}
{% endif %}
{% if protocol.participants is not none %}
Anwesende: {{protocol.participants}}
{% endif %}
{% else %}
{% if protocol.date is not none %}
Geplant: {{protocol.date|datify_long}}{% endif %}
{% endif %}
Tagesordnung{% if has_modify_right and not protocol.has_nonplanned_tops() %} Top hinzufügen{% endif %}
{% include "protocol-tops-include.html" %}
{% if protocol.is_done() %}
Beschlüsse
{% if protocol.decisions|length > 0 %}
{% for decision in protocol.decisions %}
- {{decision.content}}
{% endfor %}
{% else %}
- Keine Beschlüsse
{% endif %}
{% endif %}
{% if protocol.is_done() %}
{% if protocol.get_originating_todos()|length > 0 %}
{% for todo in protocol.get_originating_todos() %}
- {{todo.render_html()|safe}}
{% endfor %}
{% else %}
- Keine Todos
{% endif %}
{% endif %}
{% if has_modify_right %}
{% if protocol.errors|length > 0 %}
{{render_table(errors_table)}}
{% endif %}
{% endif %}
{% if protocol.documents|length > 0 %}
{{render_table(documents_table)}}
{% else %}
{% if has_modify_right %}
Hochladen
{% endif %}
{% endif %}
{% if has_modify_right %}
{{render_form(source_upload_form, action_url=url_for("upload_source_to_known_protocol", protocol_id=protocol.id, next=url_for("show_protocol", protocol_id=protocol.id)), action_text="Hochladen", enctype="multipart/form-data")}}
{{render_form(document_upload_form, action_url=url_for("upload_document", protocol_id=protocol.id, next=url_for("show_protocol", protocol_id=protocol.id)), action_text="Hochladen", enctype="multipart/form-data")}}
{% endif %}