diff --git a/lemarche/templates/layouts/_header.html b/lemarche/templates/layouts/_header.html index 91802f5e0..a01fefd5a 100644 --- a/lemarche/templates/layouts/_header.html +++ b/lemarche/templates/layouts/_header.html @@ -1,13 +1,11 @@ {% load i18n static theme_inclusion %} - {% if not user.is_authenticated %} - {% if page.slug == "accueil-structure" %} - {% include "includes/_header_for_buyers.html" %} - {% else %} - {% include "includes/_header_for_siaes.html" %} - {% endif %} + {% if page.slug == "accueil-structure" %} + {% include "includes/_header_for_buyers.html" %} + {% else %} + {% include "includes/_header_for_siaes.html" %} + {% endif %} {% endif %} - \ No newline at end of file + diff --git a/lemarche/templates/layouts/base.html b/lemarche/templates/layouts/base.html index 4cd83e95d..fc6b471a9 100644 --- a/lemarche/templates/layouts/base.html +++ b/lemarche/templates/layouts/base.html @@ -1,7 +1,7 @@ {% load static compress dsfr_tags %} + {% if settings.content_manager.CmsDsfrConfig.mourning %}data-fr-mourning{% endif %}>