{% extends "plainui/base.html" %} {% from "plainui/components/calendar.html" import calendar with context %} {% import "plainui/components/list_events.html" as list_events with context %} {% import "plainui/components/nav.html" as navMacro with context %} {% macro filter_button(value, active, label) -%} {%- endmacro %} {% block title %}Conference {{conf.name}}{% endblock %} {% block content %} {{ navMacro.top_nav(_("Fahrplan")) }} {% if timezone_warning %}
{{ _("Your timezone is configured to %(user_timezone)s, conference timezone is %(conf_timezone)s, showing times in your timezone", user_timezone=current_timezone, conf_timezone=conference_timezone) }}
{% endif %} {# TODO: Download options

{{ _("download") }}

{{ _("Xcal") }} {{ _("Xml") }} {{ _("Json") }} {{ _("QR-Code") }}
#}
{% if show_day_filters %}{% endif %} {% if show_assembly_filters %}{% endif %} {% if show_track_filters %}{% endif %} {% if day %}{% endif %} {% if kind %}{% endif %} {% if assembly %}{% endif %} {% if track %}{% endif %} {% if my_fahrplan %}{% endif %}
{{ _("fahrplan.title") }}
{{ filter_button("fmy", my_fahrplan, _("My Fahrplan")) }} {{ filter_button("fday", show_day_filters, _("by Day")) }} {{ filter_button("kofficial", kind == 'official', _("curated only")) }} {{ filter_button("kassembly", kind == 'assembly', _("assembly only")) }} {{ filter_button("ksos", kind == 'sos', _("selforganized only")) }}
{% if show_day_filters %}
{% for n in range(days) %} {{ filter_button('d' ~ (n if n != day else ''), n == day, _("Day %(n)s", n=n + 1)) }} {%- endfor %}
{% endif %} {# Leave for future, see above {% if show_assembly_filters %}
{% for asmbly in assemblies %} {%- endfor %}
{% endif %} #} {% if show_track_filters %}
{% for t in tracks %} {%- endfor %}
{% endif %}
{#
#} {% if mode == 'list' %} {{ list_events.list(events, my_favorite_events, my_scheduled_events) }}
{% endif %} {% endblock %} {% block fullpage_add %} {% if mode == 'calendar' %}
{{ calendar(events) }}

{% endif %} {% endblock %}