From d2d60c06075bae3188bd6a6a28cc1aa15ff18c55 Mon Sep 17 00:00:00 2001 From: Jeremy Stretch Date: Tue, 6 Dec 2022 15:40:59 -0500 Subject: [PATCH] Fixes #11087: Fix background color of bottom banner content --- docs/release-notes/version-3.3.md | 2 ++ netbox/templates/base/layout.html | 12 ++++++------ 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/docs/release-notes/version-3.3.md b/docs/release-notes/version-3.3.md index c35ac2a64..321cb28b9 100644 --- a/docs/release-notes/version-3.3.md +++ b/docs/release-notes/version-3.3.md @@ -9,6 +9,8 @@ ### Bug Fixes * [#11041](https://github.com/netbox-community/netbox/issues/11041) - Correct power utilization percentage precision +* [#11087](https://github.com/netbox-community/netbox/issues/11087) - Fix background color of bottom banner content +* [#11101](https://github.com/netbox-community/netbox/issues/11101) - Correct circuits count under site view --- diff --git a/netbox/templates/base/layout.html b/netbox/templates/base/layout.html index dd0412eac..e4db1a1f5 100644 --- a/netbox/templates/base/layout.html +++ b/netbox/templates/base/layout.html @@ -103,14 +103,14 @@ Blocks: {% block content %}{% endblock %} {% endblock %} + {# Bottom banner #} + {% if config.BANNER_BOTTOM %} +
+ {{ config.BANNER_BOTTOM|safe }} +
+ {% endif %} - {% if config.BANNER_BOTTOM %} -
- {{ config.BANNER_BOTTOM|safe }} -
- {% endif %} - {# BS5 pop-up modals #} {% block modals %}{% endblock %}