{% extends 'global.html'%}
{% load static %}
{% load i18n %}

{% block additional_head %}
<link rel="stylesheet" href="{% static 'maps/ol.css' %}" type="text/css">
<script src="{% static 'maps/ol.js' %}"></script>
{% endblock additional_head %}

{% block title %}{% trans 'All Places' %}{% endblock %}

{% block maincontent %}

{% include 'partials/osm_map.html' with config=mapping_config modifier='wide' %}
<div class="LP-PlaceList">
    <h1 class="LP-Headline">{% trans 'Our lost places' %}</h1>
    <ul class="LP-PlaceList__List">
        {% for place in place_list %}
        <li class="LP-PlaceList__Item">
            {% include 'partials/place_teaser.html' with place=place extended=True %}
        </li>
        {% endfor %}
    </ul>

    {% include 'partials/nav/pagination.html' %}

</div>
{% endblock maincontent %}