{% extends "plainui/base.html" %}
{% from "plainui/components/calendar.html" import calendar with context %}
{% import "plainui/components/list_events.html" as list_events with context %}
{% block title %}{{ _("%(conf)s - Public Fahrplan", conf=conf.name) }}{% endblock %}
{% block fullpage %}
{{ titleMacro.title(_("%(conf)s Fahrplan", conf=conf.name)) }}
{% if mode == 'list' %}
{{ list_events.list(events, [], []) }}
{% elif mode == 'calendar' %}
{{ calendar(events, [], [], public=True) }}
{% endif %}
{% endblock %}