{% extends 'spectator_events/base.html' %} {% load spectator_events static %} {% block head_extra %} {% if SPECTATOR_MAPS and SPECTATOR_MAPS.enable %} {% if SPECTATOR_MAPS.library == "mapbox" %} {% endif %} {% endif %} {{ block.super }} {% endblock %} {% block head_page_title %}{{ venue.name }}{% if page_obj.number > 1 %} (page {{ page_obj.number }}){% endif %}{% endblock %} {% block content_title %}{{ venue.name }}{% endblock %} {% block breadcrumbs %} {{ block.super }} {% endblock %} {% block content %}

{{ venue.address }}{% if venue.address and venue.country_name %}, {% endif %}{% if venue.country_name %}{{ venue.country_name }}{% endif %}

{% with names=venue.previous_names %} {% if names|length > 0 %}

Previously visited as: {{ names|join:", " }}.

{% endif %} {% endwith %} {% if venue.note %} {{ venue.note|safe|linebreaks }} {% endif %} {% if venue.cinema_treasures_url %}

See at Cinema Treasures.

{% endif %} {% if SPECTATOR_MAPS.enable %}
{% endif %} {% if event_list|length > 0 %}

{{ page_obj.paginator.count }} event{{ page_obj.paginator.count|pluralize }}

{% include 'spectator_events/includes/events_paginated.html' with event_list=event_list page_obj=page_obj only %} {% else %}

There are no events to show.

{% endif %} {% endblock content %} {% block sidebar_nav %} {% load spectator_core %} {% change_object_link_card object perms %} {{ block.super }} {% endblock sidebar_nav %} {% block sidebar_content %} {% most_visited_venues_card num=10 %} {{ block.super }} {% endblock sidebar_content %} {% block foot_extra %} {% if SPECTATOR_MAPS and SPECTATOR_MAPS.enable %} {# Best way of putting the config dict into a JS variable. #} {{ SPECTATOR_MAPS|json_script:"spectator-maps-config" }} {% if SPECTATOR_MAPS.library == "google" and SPECTATOR_MAPS.api_key %} {% else %} {% if SPECTATOR_MAPS.library == "mapbox" %} {% endif %} {% endif %} {% endif %} {{ block.super }} {% endblock %}