{% extends "plainui/base.html" %} {% import "plainui/components/integrations.html" as integrations %} {% import "plainui/components/markdown.html" as markdownMacro %} {% import "plainui/components/nav.html" as navMacro with context %} {% import "plainui/components/three_cards.html" as threeCardsMacro %} {% import "plainui/components/buttons.html" as buttonsMacro %} {% import "plainui/components/list_events.html.j2" as list_events with context %} {% block title %}{{conf.name}} - Index{% endblock %} {% block head %} {% endblock %} {% block content %} {% set start_title, start_body = fetch_wiki_page('start') %} {{ navMacro.top_nav(start_title) }}
{% if conf.is_running and public_streams %}
{% for stream in public_streams %}

{{ stream.name }}

{{ integrations.vocPlayer(vocStream=stream.voc_stream_id, playerId=unique_id()) }}
{% endfor %}
{% endif %}
{{ start_body }}

{{ _('index__box-whatshappening__title') }}

{% if conf.is_running %}

{{ _('index__box-whatshappening__official') }}

{{ list_events.list( upcoming_events_official, is_favorite_events, event_class='hub-event--small', hide_buttons=True ) }}

{{ _('index__box-whatshappening__selforganized') }}

{{ list_events.list( upcoming_events_selforganized, is_favorite_events, event_class='hub-event--small', hide_buttons=True ) }}
{% elif conf.has_ended %}

{{ _('index__box-whatshappening__ended') }}

{% else %}

{{ _('index__box-whatshappening__waiting') }}

{{ _('index__box-whatshappening__day') }} {{ conf.current_day }}

{% endif %}
{{ buttonsMacro.primary( _('index__box-whatshappening__fahrplanlink'), url('plainui:fahrplan'), icon='calendar-week' ) }}
{% endblock %}