mirror of
https://github.com/umap-project/umap.git
synced 2025-04-30 12:12:36 +02:00
wip: do not display alerts from the maps in a content list page
This commit is contained in:
parent
d221a98e78
commit
7e86bc6db8
3 changed files with 9 additions and 1 deletions
|
@ -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 %}
|
||||
|
|
|
@ -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" %}
|
||||
|
|
|
@ -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">
|
||||
|
|
Loading…
Reference in a new issue