This pad text is synchronized as you type, so that everyone viewing this page sees the same text. This allows you to collaborate seamlessly on documents!
{% if protocol.date is not none %}<p><strong>Geplant:</strong> {{protocol.date|datify_long}}{% endif %}</p>
{% endif %}
<h3>Tagesordnung</h3>
<ul>
{% if not protocol.has_nonplanned_tops() %}
{% for default_top in protocol.protocoltype.default_tops %}
{% if not default_top.is_at_end() %}
<li>{{default_top.name}}</li>
{% endif %}
{% endfor %}
{% endif %}
{% for top in protocol.tops %}
<li>{{top.name}}</li>
{% endfor %}
{% if not protocol.has_nonplanned_tops() %}
{% for default_top in protocol.protocoltype.default_tops %}
{% if default_top.is_at_end() %}
<li>{{default_top.name}}</li>
{% endif %}
{% endfor %}
{% endif %}
</ul>
<h3>Tagesordnung{% if has_modify_right and not protocol.has_nonplanned_tops() %} <ahref="{{url_for("new_top",protocol_id=protocol.id)}}">Top hinzufügen</a>{% endif %}</h3>
{% include "protocol-tops-include.html" %}
{% if protocol.is_done() %}
<h3>Beschlüsse</h3>
...
...
@@ -82,7 +70,7 @@
{% endif %}
</ul>
{% endif %}
{% if protocol.protocoltype.has_modify_right(current_user()) %}
{% if has_modify_right %}
{% if protocol.errors|length > 0 %}
{{render_table(errors_table)}}
{% endif %}
...
...
@@ -90,9 +78,11 @@
{% if protocol.documents|length > 0 %}
{{render_table(documents_table)}}
{% else %}
{% if has_modify_right %}
<h3>Hochladen</h3>
{% endif %}
{% if protocol.protocoltype.has_modify_right(current_user()) %}
<ahref="{{url_for('delete_top', top_id=top.id)}}"onclick="return confirm('Bist du dir sicher, dass du den TOP {{top.name}} löschen möchtest?');">Löschen</a>
{% endif %}
</li>
{% endfor %}
{% if not protocol.has_nonplanned_tops() %}
{% for default_top in protocol.protocoltype.default_tops %}