From 64407bd46d7df6f1f589bfd4ec9104c6f00282c1 Mon Sep 17 00:00:00 2001 From: PY Date: Tue, 21 Jan 2025 10:30:15 +0100 Subject: [PATCH] add faq in headers --- config/settings/base.py | 2 ++ envergo/templates/haie/_header.html | 6 ++++++ envergo/templates/haie/_slim_header.html | 6 ++++-- envergo/utils/context_processors.py | 1 + 4 files changed, 13 insertions(+), 2 deletions(-) diff --git a/config/settings/base.py b/config/settings/base.py index 1630158b6..8c807aa6c 100644 --- a/config/settings/base.py +++ b/config/settings/base.py @@ -430,3 +430,5 @@ "BREVO_NEWSLETTER_DOUBLE_OPT_IN_TEMPLATE_ID", default=None ), } + +HAIE_FAQ_URL = "https://www.notion.so/Guichet-unique-de-la-haie-propos-17afe5fe476680a9abe6c4bdf5301abb" diff --git a/envergo/templates/haie/_header.html b/envergo/templates/haie/_header.html index 2470c117e..2c3aff124 100644 --- a/envergo/templates/haie/_header.html +++ b/envergo/templates/haie/_header.html @@ -32,6 +32,12 @@ diff --git a/envergo/templates/haie/_slim_header.html b/envergo/templates/haie/_slim_header.html index f6dc566ea..97553704a 100644 --- a/envergo/templates/haie/_slim_header.html +++ b/envergo/templates/haie/_slim_header.html @@ -27,9 +27,11 @@ diff --git a/envergo/utils/context_processors.py b/envergo/utils/context_processors.py index 8bcff912e..160b7f36a 100644 --- a/envergo/utils/context_processors.py +++ b/envergo/utils/context_processors.py @@ -44,6 +44,7 @@ def settings_context(_request): "ENV_NAME": settings.ENV_NAME, "CRISP_CHATBOX_ENABLED": chatbox_enabled, "CRISP_WEBSITE_ID": crisp_website_id, + "HAIE_FAQ_URL": settings.HAIE_FAQ_URL, }