Просмотр исходного кода

Fixes #11087: Fix background color of bottom banner content

Jeremy Stretch 3 лет назад
Родитель
Сommit
d2d60c0607
2 измененных файлов с 8 добавлено и 6 удалено
  1. 2 0
      docs/release-notes/version-3.3.md
  2. 6 6
      netbox/templates/base/layout.html

+ 2 - 0
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
 
 ---
 

+ 6 - 6
netbox/templates/base/layout.html

@@ -103,14 +103,14 @@ Blocks:
               {% block content %}{% endblock %}
             </div>
           {% endblock %}
+          {# Bottom banner #}
+          {% if config.BANNER_BOTTOM %}
+            <div class="text-center mx-3">
+              {{ config.BANNER_BOTTOM|safe }}
+            </div>
+          {% endif %}
         </div>
 
-        {% if config.BANNER_BOTTOM %}
-          <div class="text-center mx-3">
-            {{ config.BANNER_BOTTOM|safe }}
-          </div>
-        {% endif %}
-
         {# BS5 pop-up modals #}
         {% block modals %}{% endblock %}