{% extends "umap/content.html" %} {% load i18n %} {% block head_title %} {% translate "Explore maps" %} - {{ SITE_DESCRIPTION }} {% endblock head_title %} {% block messages %} {# We don't want maps from the results list to display errors in the main page. #} {% endblock messages %} {% block maincontent %} {% include "umap/search_bar.html" %}
{% if request.GET.q %} {% if maps %}

{% blocktranslate trimmed count counter=count %} {{ count }} map found: {% plural %} {{ count }} maps found: {% endblocktranslate %}

{% include "umap/map_list.html" with prefix="search_map" %}
{% else %}

{% trans "No map found." %}

{% endif %} {% else %}

{% trans "Latest created maps" %}

{% include "umap/map_list.html" with prefix="search_map" %}
{% endif %}
{% endblock maincontent %}