Fixes #20028: Restore bulk deletion button for bookmarks, notifications, and subscriptions (#20032)
Some checks are pending
CI / build (20.x, 3.10) (push) Waiting to run
CI / build (20.x, 3.11) (push) Waiting to run
CI / build (20.x, 3.12) (push) Waiting to run

This commit is contained in:
Jeremy Stretch 2025-08-06 16:56:22 -04:00 committed by GitHub
parent 4ce47e778b
commit 33d891e67b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 6 additions and 11 deletions

View File

@ -340,11 +340,12 @@ class TableConfigTable(NetBoxTable):
class BookmarkTable(NetBoxTable):
object_type = columns.ContentTypeColumn(
verbose_name=_('Object Types'),
verbose_name=_('Object Type'),
)
object = tables.Column(
verbose_name=_('Object'),
linkify=True
linkify=True,
orderable=False
)
actions = columns.ActionsColumn(
actions=('delete',)

View File

@ -24,9 +24,7 @@
{# Form buttons #}
<div class="btn-list d-print-none mt-2">
{% if 'bulk_delete' in actions %}
{% bulk_delete_button model query_params=request.GET %}
{% endif %}
{% bulk_delete_button model query_params=request.GET %}
</div>
</form>
{% endblock %}

View File

@ -24,9 +24,7 @@
{# Form buttons #}
<div class="btn-list d-print-none mt-2">
{% if 'bulk_delete' in actions %}
{% bulk_delete_button model query_params=request.GET %}
{% endif %}
{% bulk_delete_button model query_params=request.GET %}
</div>
</form>
{% endblock %}

View File

@ -24,9 +24,7 @@
{# Form buttons #}
<div class="btn-list d-print-none mt-2">
{% if 'bulk_delete' in actions %}
{% bulk_delete_button model query_params=request.GET %}
{% endif %}
{% bulk_delete_button model query_params=request.GET %}
</div>
</form>
{% endblock %}