mirror of
https://github.com/netbox-community/netbox.git
synced 2026-01-09 21:32:17 -06:00
19 lines
377 B
Python
19 lines
377 B
Python
from django.utils.translation import gettext_lazy as _
|
|
|
|
from netbox.object_actions import ObjectAction
|
|
|
|
__all__ = (
|
|
'BulkSync',
|
|
)
|
|
|
|
|
|
class BulkSync(ObjectAction):
|
|
"""
|
|
Synchronize multiple objects at once.
|
|
"""
|
|
name = 'bulk_sync'
|
|
label = _('Sync Data')
|
|
multi = True
|
|
permissions_required = {'sync'}
|
|
template_name = 'core/buttons/bulk_sync.html'
|