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

#7091: Simplify access to BASE_PATH variable

This commit is contained in:
jeremystretch
2021-09-01 09:34:33 -04:00
parent a33e47780b
commit f63dcb1f08
2 changed files with 1 additions and 9 deletions

View File

@@ -5,7 +5,7 @@
<html
lang="en"
data-netbox-path="{{ request.path }}"
data-netbox-base-path="{% base_path %}"
data-netbox-base-path="{{ settings.BASE_PATH }}"
{% if preferences|get_key:'ui.colormode' == 'dark'%}
data-netbox-color-mode="dark"
{% else %}