From 4ee11c6eb489b9d6d111525c1c54313ba4e3a104 Mon Sep 17 00:00:00 2001 From: PascalRepond Date: Wed, 22 Jun 2022 12:32:26 +0200 Subject: [PATCH] Move test server alert to app header Co-Authored-by: Pascal Repond --- rero_ils/theme/templates/rero_ils/frontpage.html | 10 ---------- rero_ils/theme/templates/rero_ils/header.html | 9 +++++++++ 2 files changed, 9 insertions(+), 10 deletions(-) diff --git a/rero_ils/theme/templates/rero_ils/frontpage.html b/rero_ils/theme/templates/rero_ils/frontpage.html index 92a8ba50c2..4bed45dc7b 100644 --- a/rero_ils/theme/templates/rero_ils/frontpage.html +++ b/rero_ils/theme/templates/rero_ils/frontpage.html @@ -60,16 +60,6 @@ {% endif %} - - {% if not config.RERO_ILS_STATE_PRODUCTION %} -
- {{ config.RERO_ILS_STATE_MESSAGE }} - {% if config.RERO_ILS_STATE_LINK_MESSAGE %} - {{config.RERO_ILS_STATE_LINK_MESSAGE }} - {% endif %} -
- {% endif %} -
diff --git a/rero_ils/theme/templates/rero_ils/header.html b/rero_ils/theme/templates/rero_ils/header.html index 088a8c5c42..d852e3eb3d 100644 --- a/rero_ils/theme/templates/rero_ils/header.html +++ b/rero_ils/theme/templates/rero_ils/header.html @@ -91,6 +91,15 @@ {% endfor %}
+ + {% if not config.RERO_ILS_STATE_PRODUCTION %} +
+ {{ config.RERO_ILS_STATE_MESSAGE }} + {% if config.RERO_ILS_STATE_LINK_MESSAGE %} + {{config.RERO_ILS_STATE_LINK_MESSAGE }} +
+ {% endif %} + {% endif %}