wip: do not display alerts from the maps in a content list page

This commit is contained in:
Yohan Boniface 2024-06-14 17:51:42 +02:00
parent d221a98e78
commit 7e86bc6db8
3 changed files with 9 additions and 1 deletions

View file

@ -12,7 +12,9 @@
<header class="wrapper row">
{% include "umap/navigation.html" with title=SITE_NAME %}
</header>
{% include "umap/messages.html" with title=SITE_NAME %}
{% block messages %}
{% include "umap/messages.html" with title=SITE_NAME %}
{% endblock messages %}
{% endblock header %}
{% block content %}
{% if UMAP_READONLY %}

View file

@ -1,5 +1,8 @@
{% extends "umap/content.html" %}
{% load umap_tags i18n %}
{% block messages %}
{# We don't want maps in the list to display errors. #}
{% endblock messages %}
{% block maincontent %}
{% include "umap/search_bar.html" %}
{% include "umap/about_summary.html" %}

View file

@ -1,5 +1,8 @@
{% extends "umap/content.html" %}
{% load i18n %}
{% 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" %}
<div class="wrapper">