From 8bce9751f496dcffc0eae8eda9adff1c80fea447 Mon Sep 17 00:00:00 2001 From: Jeremy Stretch Date: Mon, 30 Jun 2025 11:47:09 -0400 Subject: [PATCH] Move core_sync.html to core app --- netbox/core/object_actions.py | 2 +- netbox/extras/views.py | 2 +- .../templates => templates/core}/buttons/bulk_sync.html | 0 3 files changed, 2 insertions(+), 2 deletions(-) rename netbox/{utilities/templates => templates/core}/buttons/bulk_sync.html (100%) diff --git a/netbox/core/object_actions.py b/netbox/core/object_actions.py index fc538f205..81b5fb2c8 100644 --- a/netbox/core/object_actions.py +++ b/netbox/core/object_actions.py @@ -15,4 +15,4 @@ class BulkSync(ObjectAction): label = _('Sync Data') multi = True permissions_required = {'sync'} - template_name = 'buttons/bulk_sync.html' + template_name = 'core/buttons/bulk_sync.html' diff --git a/netbox/extras/views.py b/netbox/extras/views.py index d5837f866..7216c4eec 100644 --- a/netbox/extras/views.py +++ b/netbox/extras/views.py @@ -1021,7 +1021,7 @@ class JournalEntryListView(generic.ObjectListView): filterset = filtersets.JournalEntryFilterSet filterset_form = forms.JournalEntryFilterForm table = tables.JournalEntryTable - actions = (BulkImport, BulkSync, BulkEdit, BulkDelete) + actions = (BulkImport, BulkEdit, BulkDelete) @register_model_view(JournalEntry) diff --git a/netbox/utilities/templates/buttons/bulk_sync.html b/netbox/templates/core/buttons/bulk_sync.html similarity index 100% rename from netbox/utilities/templates/buttons/bulk_sync.html rename to netbox/templates/core/buttons/bulk_sync.html