From 941c123f238f5d3f82983c8e9c70e027f9ad5d44 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Reuiller?= Date: Fri, 26 Apr 2024 18:16:13 +0200 Subject: [PATCH] use HOME_PAGE_PATH in templates --- config/settings/base.py | 2 +- lemarche/templates/api/home.html | 2 +- lemarche/templates/auth/login.html | 2 +- lemarche/templates/auth/password_reset.html | 2 +- lemarche/templates/auth/password_reset_confirm.html | 2 +- lemarche/templates/auth/password_reset_sent.html | 4 ++-- lemarche/templates/auth/signup.html | 2 +- lemarche/templates/cms/article_list.html | 2 +- lemarche/templates/cms/article_page.html | 2 +- lemarche/templates/cms/paid_article_list.html | 2 +- lemarche/templates/cms/static/decouvrir-inclusion.html | 2 +- lemarche/templates/cms/static/filiere_recyclage.html | 2 +- lemarche/templates/cms/static/filiere_restauration.html | 2 +- lemarche/templates/cms/static/valoriser-achats.html | 2 +- lemarche/templates/dashboard/home_buyer.html | 2 +- lemarche/templates/dashboard/home_siae.html | 2 +- lemarche/templates/dashboard/profile_edit.html | 2 +- lemarche/templates/dashboard/siae_edit_base.html | 2 +- lemarche/templates/dashboard/siae_search_adopt_confirm.html | 2 +- lemarche/templates/dashboard/siae_search_by_siret.html | 2 +- lemarche/templates/dashboard/siae_users.html | 2 +- lemarche/templates/favorites/dashboard_favorite_list.html | 2 +- .../templates/favorites/dashboard_favorite_list_detail.html | 2 +- lemarche/templates/includes/_header_for_buyers.html | 2 +- lemarche/templates/includes/_header_for_siaes.html | 2 +- lemarche/templates/layouts/_footer.html | 2 +- lemarche/templates/layouts/_header.html | 4 ++-- lemarche/templates/layouts/_header_nav_secondary_items.html | 2 +- lemarche/templates/networks/dashboard_network_siae_list.html | 2 +- .../networks/dashboard_network_siae_tender_list.html | 2 +- .../templates/networks/dashboard_network_tender_detail.html | 2 +- .../templates/networks/dashboard_network_tender_list.html | 2 +- .../networks/dashboard_network_tender_siae_list.html | 2 +- lemarche/templates/pages/accessibilite.html | 2 +- lemarche/templates/pages/company-reference-calculator.html | 2 +- lemarche/templates/pages/contact.html | 2 +- lemarche/templates/pages/decouvrir-inclusion.html | 2 +- lemarche/templates/pages/filiere_recyclage.html | 2 +- lemarche/templates/pages/filiere_restauration.html | 2 +- lemarche/templates/pages/flatpage_template.html | 2 +- lemarche/templates/pages/groupements.html | 2 +- lemarche/templates/pages/impact-calculator.html | 2 +- lemarche/templates/pages/partenaires.html | 2 +- lemarche/templates/pages/social-impact-for-buyers.html | 2 +- lemarche/templates/pages/stats.html | 2 +- lemarche/templates/pages/valoriser-achats.html | 2 +- lemarche/templates/siaes/detail.html | 2 +- lemarche/templates/siaes/search_results.html | 2 +- lemarche/templates/tenders/create_base.html | 2 +- lemarche/templates/tenders/detail.html | 2 +- lemarche/templates/tenders/list.html | 2 +- lemarche/templates/tenders/siae_interested_list.html | 2 +- lemarche/templates/tenders/survey_transactioned_detail.html | 2 +- 53 files changed, 55 insertions(+), 55 deletions(-) diff --git a/config/settings/base.py b/config/settings/base.py index 5b8ba07a4..cad0436f2 100644 --- a/config/settings/base.py +++ b/config/settings/base.py @@ -865,7 +865,7 @@ WAGTAIL_FRONTEND_LOGIN_URL = LOGIN_URL # Specific home page is setted here to avoid one query on every page -SIAE_HOME_PAGE = "/accueil-structure" +SIAE_HOME_PAGE = "/accueil-structure/" # Increase throttling to avoid Bad request errors when saving large pages # https://docs.djangoproject.com/en/4.2/ref/settings/#data-upload-max-number-fields diff --git a/lemarche/templates/api/home.html b/lemarche/templates/api/home.html index 43822c965..f7ea9d8f1 100644 --- a/lemarche/templates/api/home.html +++ b/lemarche/templates/api/home.html @@ -10,7 +10,7 @@
diff --git a/lemarche/templates/auth/login.html b/lemarche/templates/auth/login.html index f0e7aab59..126934f9c 100644 --- a/lemarche/templates/auth/login.html +++ b/lemarche/templates/auth/login.html @@ -10,7 +10,7 @@
diff --git a/lemarche/templates/auth/password_reset.html b/lemarche/templates/auth/password_reset.html index bd66e0c74..bd0da1093 100644 --- a/lemarche/templates/auth/password_reset.html +++ b/lemarche/templates/auth/password_reset.html @@ -10,7 +10,7 @@
diff --git a/lemarche/templates/auth/password_reset_confirm.html b/lemarche/templates/auth/password_reset_confirm.html index e24c6792d..c17b8dd8b 100644 --- a/lemarche/templates/auth/password_reset_confirm.html +++ b/lemarche/templates/auth/password_reset_confirm.html @@ -10,7 +10,7 @@
diff --git a/lemarche/templates/auth/password_reset_sent.html b/lemarche/templates/auth/password_reset_sent.html index 7a78efc8e..65a93d2fc 100644 --- a/lemarche/templates/auth/password_reset_sent.html +++ b/lemarche/templates/auth/password_reset_sent.html @@ -9,7 +9,7 @@
@@ -37,7 +37,7 @@

  • vérifiez qu'il n'y a pas d'erreur dans votre e-mail
  • - + Revenir à la page principale diff --git a/lemarche/templates/auth/signup.html b/lemarche/templates/auth/signup.html index 3f1d57f38..2ff82f2b9 100644 --- a/lemarche/templates/auth/signup.html +++ b/lemarche/templates/auth/signup.html @@ -10,7 +10,7 @@

    diff --git a/lemarche/templates/cms/article_list.html b/lemarche/templates/cms/article_list.html index 28729c341..a713c1cae 100644 --- a/lemarche/templates/cms/article_list.html +++ b/lemarche/templates/cms/article_list.html @@ -11,7 +11,7 @@