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:
committed by
jeremystretch
parent
e19ce69238
commit
2381317eb3
@ -74,7 +74,6 @@ This template is used by the `ObjectView` generic view to display a single objec
|
||||
| `breadcrumbs` | - | Breadcrumb list items (HTML `<li>` elements) |
|
||||
| `object_identifier` | - | A unique identifier (string) for the object |
|
||||
| `extra_controls` | - | Additional action buttons to display |
|
||||
| `extra_tabs` | - | Additional tabs to include |
|
||||
|
||||
#### Context
|
||||
|
||||
|
@ -1,7 +1,8 @@
|
||||
# NetBox v3.4
|
||||
# NetBox v3.5
|
||||
|
||||
## v3.5.0 (FUTURE)
|
||||
|
||||
### Other Changes
|
||||
|
||||
* [#10604](https://github.com/netbox-community/netbox/issues/10604) - Remove unused `extra_tabs` block from `object.html` generic template
|
||||
* [#10923](https://github.com/netbox-community/netbox/issues/10923) - Remove unused `NetBoxModelCSVForm` class (replaced by `NetBoxModelImportForm`)
|
||||
|
@ -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>
|
||||
|
Reference in New Issue
Block a user