mirror of
https://github.com/netbox-community/netbox.git
synced 2024-05-10 07:54:54 +00:00
Replace active_tab context for object views
This commit is contained in:
@@ -81,7 +81,7 @@ Context:
|
||||
<ul class="nav nav-tabs px-3">
|
||||
{# Primary tab #}
|
||||
<li class="nav-item" role="presentation">
|
||||
<a class="nav-link{% if not active_tab %} active{% endif %}" href="{{ object.get_absolute_url }}">{{ object|meta:"verbose_name"|bettertitle }}</a>
|
||||
<a class="nav-link{% if not tab %} active{% endif %}" href="{{ object.get_absolute_url }}">{{ object|meta:"verbose_name"|bettertitle }}</a>
|
||||
</li>
|
||||
|
||||
{# Include any extra tabs passed by the view #}
|
||||
|
Reference in New Issue
Block a user