{% extends 'base.html.twig' %} {% block title %}Browse events — VINDN{% endblock %} {% block head_extra %} {% endblock %} {% block body %}

All events

{{ q ? 'Searching: "' ~ q ~ '"' : "What's on" }}{{ activeCategory ? ' — ' ~ activeCategory : '' }}

{{ total }} event{{ total == 1 ? '' : 's' }}

Search
{% if activeCategory %}{% endif %} {% if 'any' != when %}{% endif %} {% if hasLocation %} {% endif %}
Category
All {% for category in categories %} {{ category }} {% endfor %}
Near a location
{% if hasLocation %} clear {% endif %}

{% if hasLocation %}Showing events within {{ rangeKm }} km of {{ lat|number_format(3) }}, {{ lon|number_format(3) }}{% endif %}

{% for event in events %} {% include 'events/_card.html.twig' with { event: event, dist: hasLocation ? distances[event.id]|default(null) : null } %} {% else %}

No events

Nothing matches those filters yet — try clearing one, or check back once the importer has run.

{% endfor %}
{% include '_pager.html.twig' with { currentPage: page, totalPages: totalPages, routeName: 'event_list', routeParams: filters } %}
{% endblock %} {% block scripts %} {% endblock %}