mirror of
https://github.com/netbox-community/netbox.git
synced 2025-07-14 09:51:22 -06:00
Fixes #13569: Fix selection widgets for related interfaces when bulk editing interfaces under device view
This commit is contained in:
parent
d9c3ce935f
commit
faf89350ac
@ -24,6 +24,7 @@
|
|||||||
* [#13543](https://github.com/netbox-community/netbox/issues/13543) - Config context tab under device/VM view should not require `extras.view_configcontext` permission
|
* [#13543](https://github.com/netbox-community/netbox/issues/13543) - Config context tab under device/VM view should not require `extras.view_configcontext` permission
|
||||||
* [#13544](https://github.com/netbox-community/netbox/issues/13544) - Ensure `reindex` command clears all cached values when not in lazy mode
|
* [#13544](https://github.com/netbox-community/netbox/issues/13544) - Ensure `reindex` command clears all cached values when not in lazy mode
|
||||||
* [#13556](https://github.com/netbox-community/netbox/issues/13556) - Correct REST API representation of VDC status choice
|
* [#13556](https://github.com/netbox-community/netbox/issues/13556) - Correct REST API representation of VDC status choice
|
||||||
|
* [#13569](https://github.com/netbox-community/netbox/issues/13569) - Fix selection widgets for related interfaces when bulk editing interfaces under device view
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
|
@ -2,7 +2,15 @@
|
|||||||
{% load helpers %}
|
{% load helpers %}
|
||||||
|
|
||||||
{% block bulk_edit_controls %}
|
{% block bulk_edit_controls %}
|
||||||
{{ block.super }}
|
{% with bulk_edit_view=child_model|validated_viewname:"bulk_edit" %}
|
||||||
|
{% if 'bulk_edit' in actions and bulk_edit_view %}
|
||||||
|
<button type="submit" name="_edit"
|
||||||
|
formaction="{% url bulk_edit_view %}?device={{ object.pk }}&return_url={{ return_url }}"
|
||||||
|
class="btn btn-warning btn-sm">
|
||||||
|
<i class="mdi mdi-pencil" aria-hidden="true"></i> Edit Selected
|
||||||
|
</button>
|
||||||
|
{% endif %}
|
||||||
|
{% endwith %}
|
||||||
{% with bulk_rename_view=child_model|validated_viewname:"bulk_rename" %}
|
{% with bulk_rename_view=child_model|validated_viewname:"bulk_rename" %}
|
||||||
{% if 'bulk_rename' in actions and bulk_rename_view %}
|
{% if 'bulk_rename' in actions and bulk_rename_view %}
|
||||||
<button type="submit" name="_rename"
|
<button type="submit" name="_rename"
|
||||||
|
Loading…
Reference in New Issue
Block a user