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

Closes #10604: Remove unused extra_tabs block from object.html generic template

This commit is contained in:
jeremystretch
2023-01-09 10:13:40 -05:00
committed by jeremystretch
parent e19ce69238
commit 2381317eb3
3 changed files with 2 additions and 6 deletions

View File

@@ -11,7 +11,6 @@ Blocks:
breadcrumbs: Breadcrumb list items (HTML <li> elements)
object_identifier: Unique identifier for the object
extra_controls: Additional action buttons to display
extra_tabs: Additional tabs to include
content: Page content
Context:
@@ -84,9 +83,6 @@ Context:
<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 #}
{% block extra_tabs %}{% endblock %}
{# Include tabs for registered model views #}
{% model_view_tabs object %}
</ul>