mirror of
https://github.com/netbox-community/netbox.git
synced 2025-07-24 09:28:38 -06:00
Fixes #7096: Home links should honor BASE_PATH configuration
This commit is contained in:
parent
db2993035d
commit
4f36885c5e
@ -1,11 +1,12 @@
|
|||||||
# NetBox v3.0
|
# NetBox v3.0
|
||||||
|
|
||||||
## v2.11.12 (2021-08-23)
|
## v3.0.1 (FUTURE)
|
||||||
|
|
||||||
### Bug Fixes
|
### Bug Fixes
|
||||||
|
|
||||||
* [#7070](https://github.com/netbox-community/netbox/issues/7070) - Fix exception when filtering by prefix max length in UI
|
* [#7070](https://github.com/netbox-community/netbox/issues/7070) - Fix exception when filtering by prefix max length in UI
|
||||||
* [#7071](https://github.com/netbox-community/netbox/issues/7071) - Fix exception when removing a primary IP from a device/VM
|
* [#7071](https://github.com/netbox-community/netbox/issues/7071) - Fix exception when removing a primary IP from a device/VM
|
||||||
|
* [#7096](https://github.com/netbox-community/netbox/issues/7096) - Home links should honor `BASE_PATH` configuration
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
|
@ -7,12 +7,12 @@
|
|||||||
{# Brand #}
|
{# Brand #}
|
||||||
|
|
||||||
{# Full Logo #}
|
{# Full Logo #}
|
||||||
<a class="sidenav-brand" href="/">
|
<a class="sidenav-brand" href="{% url 'home' %}">
|
||||||
<img src="{% static 'netbox_logo.svg' %}" height="48" class="sidenav-brand-img" alt="NetBox Logo">
|
<img src="{% static 'netbox_logo.svg' %}" height="48" class="sidenav-brand-img" alt="NetBox Logo">
|
||||||
</a>
|
</a>
|
||||||
|
|
||||||
{# Icon Logo #}
|
{# Icon Logo #}
|
||||||
<a class="sidenav-brand-icon" href="/">
|
<a class="sidenav-brand-icon" href="{% url 'home' %}">
|
||||||
<img src="{% static 'netbox_icon.svg' %}" height="32" class="sidenav-brand-img" alt="NetBox Logo">
|
<img src="{% static 'netbox_icon.svg' %}" height="32" class="sidenav-brand-img" alt="NetBox Logo">
|
||||||
</a>
|
</a>
|
||||||
|
|
||||||
|
@ -42,7 +42,7 @@
|
|||||||
The file <code>{{ filename }}</code> exists in the static root directory and is readable by the HTTP process.
|
The file <code>{{ filename }}</code> exists in the static root directory and is readable by the HTTP process.
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
<p>Click <a href="/">here</a> to attempt loading NetBox again.</p>
|
<p>Click <a href="{% url 'home' %}">here</a> to attempt loading NetBox again.</p>
|
||||||
</div>
|
</div>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
@ -9,5 +9,5 @@
|
|||||||
{% block title %}{% if name %}{{ name }} | {% endif %}NetBox REST API{% endblock %}
|
{% block title %}{% if name %}{{ name }} | {% endif %}NetBox REST API{% endblock %}
|
||||||
|
|
||||||
{% block branding %}
|
{% block branding %}
|
||||||
<a class="navbar-brand" href="/{{ settings.BASE_PATH }}">NetBox</a>
|
<a class="navbar-brand" href="{% url 'home' %}">NetBox</a>
|
||||||
{% endblock branding %}
|
{% endblock branding %}
|
||||||
|
Loading…
Reference in New Issue
Block a user