1
0
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:
jeremystretch
2022-10-06 16:20:35 -04:00
parent 664d5db5eb
commit 0d7851ed9d
7 changed files with 158 additions and 26 deletions

View 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 %}