From b6dcd4c3f920bfd6de8920ad0e60e43134c843d9 Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Mon, 9 Dec 2019 18:56:27 +0100 Subject: Can configure a warning banner and a warning message --- ishtar_common/templates/base.html | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) (limited to 'ishtar_common/templates') diff --git a/ishtar_common/templates/base.html b/ishtar_common/templates/base.html index bb53092ca..5fb935eb5 100644 --- a/ishtar_common/templates/base.html +++ b/ishtar_common/templates/base.html @@ -117,6 +117,37 @@ {% include "navbar.html" %} + {% if SITE_PROFILE.warning_name %} +
+ + {{SITE_PROFILE.warning_name }} + {% if SITE_PROFILE.warning_message %} + + + + {% endif %} +
+ + {% if SITE_PROFILE.warning_message %} + + {% endif %} + {% endif %}