mirror of
https://github.com/netbox-community/netbox.git
synced 2024-05-10 07:54:54 +00:00
#9072: Implement a mechanism for dynamically registering model detail views
This commit is contained in:
8
netbox/utilities/templates/tabs/model_view_tabs.html
Normal file
8
netbox/utilities/templates/tabs/model_view_tabs.html
Normal file
@@ -0,0 +1,8 @@
|
||||
{% for tab in tabs %}
|
||||
<li role="presentation" class="nav-item">
|
||||
<a href="{{ tab.url }}" class="nav-link{% if tab.is_active %} active{% endif %}">
|
||||
{{ tab.label }}
|
||||
{% if tab.badge_value %}{% badge tab.badge_value %}{% endif %}
|
||||
</a>
|
||||
</li>
|
||||
{% endfor %}
|
Reference in New Issue
Block a user