1
0
mirror of https://github.com/netbox-community/netbox.git synced 2024-05-10 07:54:54 +00:00

15872 don't escape BANNER_MAINTENANCE (#15885)

* 15872 don't escape BANNER_MAINTENANCE

* 15872 don't escape BANNER_MAINTENANCE
This commit is contained in:
Arthur Hanson
2024-04-29 09:34:29 -07:00
committed by GitHub
parent 851b4cc4d3
commit 9691bb29b6

View File

@ -81,7 +81,7 @@ Blocks:
{% if config.MAINTENANCE_MODE and config.BANNER_MAINTENANCE %}
<div class="alert alert-warning text-center mx-3" role="alert">
<h5><i class="mdi mdi-alert"></i> {% trans "Maintenance Mode" %}</h5>
{{ config.BANNER_MAINTENANCE|escape }}
{{ config.BANNER_MAINTENANCE|safe }}
</div>
{% endif %}