From a39b78832971d342eed4efba5b383aeaa65db323 Mon Sep 17 00:00:00 2001 From: Sylvain Boissel Date: Wed, 5 Mar 2025 15:46:17 +0100 Subject: [PATCH] Move messages block after on pages where it wasn't the case --- blog/templates/blog/blog_entry_page.html | 3 +- blog/templates/blog/categories_list_page.html | 5 +- blog/templates/blog/tags_list_page.html | 4 +- .../content_manager/catalog_index_page.html | 7 +- .../content_manager/sitemap_page.html | 3 +- .../templates/content_manager/tag_page.html | 88 +++++++++---------- .../content_manager/tags_list_page.html | 4 +- events/templates/events/event_entry_page.html | 3 +- .../templates/events/events_archive_page.html | 7 +- .../templates/events/events_index_page.html | 1 + forms/templates/forms/form_page.html | 1 - 11 files changed, 65 insertions(+), 61 deletions(-) diff --git a/blog/templates/blog/blog_entry_page.html b/blog/templates/blog/blog_entry_page.html index b8d5ea20..4bba0aa7 100644 --- a/blog/templates/blog/blog_entry_page.html +++ b/blog/templates/blog/blog_entry_page.html @@ -44,7 +44,6 @@ {% block content %} {% include "content_manager/blocks/heading.html" %} - {% include "content_manager/blocks/messages.html" %} {% with categories=page.blog_categories.all %}
@@ -71,6 +70,8 @@

+ {% include "content_manager/blocks/messages.html" %} + {% include "content_manager/blocks/blocks_stream.html" with stream=page.body %} {% with authors=page.authors.all %} diff --git a/blog/templates/blog/categories_list_page.html b/blog/templates/blog/categories_list_page.html index 72729f73..a41b934b 100644 --- a/blog/templates/blog/categories_list_page.html +++ b/blog/templates/blog/categories_list_page.html @@ -13,8 +13,6 @@ {% endif %} {% block content %} - {% include "content_manager/blocks/messages.html" %} -
{% include "content_manager/blocks/breadcrumbs.html" %} {% if not page.header_with_title %} @@ -23,6 +21,9 @@

{% if extra_title %}: {{ extra_title }}{% endif %}

{% endif %} + + {% include "content_manager/blocks/messages.html" %} +