{% set page_border = page_border|default(1) %} {% set global_permissions = [] %} {% set min_announcement_level = min_announcement_level|default(1) %} {% set levels = {0: ('info', 'Nur auf Hauptseite sichtbar'), 1: ('info', 'Auf allen Unterseiten sichtbar (Hinweis)'), 2: ('warning', 'Auf allen Unterseiten sichtbar (Warnung)'), 3: ('danger', 'Auch auf Embed-Page sichtbar (Wichtig)')} %} {% from 'macros.html' import moderator_editor, moderator_checkbox, moderator_delete %} {% block header %} Video AG {% block title %}{% for n in navbar if ((n.visible or ismod()) and (endpoint == request.endpoint)) %}- {{ n.name }}{% endfor %}{% endblock %} {% if ismod() %} {% endif %} {%if ismod() %} {% endif %} {% endblock %} {% block navbar %} {% macro navbaricon(data, user=none) -%} {% if data.gly != '' %} {% if data.iconlib == 'bootstrap' %} {% elif data.iconlib == 'fa' %} {% endif %} {{ data.name }} {% endif %} {%- endmacro %} {% endblock %}
{% if page_border == 0 %}
{% else %}
{% endif %} {% block announcements %} {% for msg in get_announcements(min_announcement_level) if (not request.cookies['alert-info-'+msg.id|string]) %} {% endfor %} {% endblock %} {% block alerts %} {% for msg in get_flashed_messages(category_filter=["message"]) %} {% endfor %} {% endblock %} {% block content %} {% endblock %}
{% block footer %} {% endblock %} {% block modals %} {% endblock %} {% if ismod() %} {% endif %}