{% extends "layout.html" %} {% from "macros.html" import render_table, render_form %} {% block title %}Protokoll{% endblock %} {% set loggedin = check_login() %} {% set user = current_user() %} {% set has_public_view_right = protocol.protocoltype.has_public_view_right(user) %} {% set has_private_view_right = protocol.protocoltype.has_private_view_right(user) %} {% set has_modify_right = protocol.protocoltype.has_modify_right(user) %} {% block content %}
{% if has_modify_right %} Aus Etherpad {% if protocol.source is not none %} Download Quelltext {% endif %} Protokoll editieren {% if not protocol.is_done() %} Vorlage In Etherpad {% endif %} Etherpad Typ Löschen {% endif %}

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

    {% for decision in protocol.decisions %}
  • {{decision.content}}
  • {% endfor %}
{% endif %}
{% if protocol.is_done() %}

Todos dieser Sitzung Aktuelle Todos

    {% 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 %}
{% endblock %}