1
0
mirror of https://github.com/netbox-community/netbox.git synced 2024-05-10 07:54:54 +00:00

Closes #8747: Rename ObjectListView action_buttons to actions

This commit is contained in:
jeremystretch
2022-02-24 16:33:51 -05:00
parent 6638f560f8
commit 0953bba0a3
7 changed files with 50 additions and 53 deletions

View File

@ -269,7 +269,7 @@ class ConfigContextListView(generic.ObjectListView):
filterset = filtersets.ConfigContextFilterSet
filterset_form = forms.ConfigContextFilterForm
table = tables.ConfigContextTable
action_buttons = ('add',)
actions = ('add', 'bulk_edit', 'bulk_delete')
class ConfigContextView(generic.ObjectView):
@ -366,7 +366,7 @@ class ObjectChangeListView(generic.ObjectListView):
filterset_form = forms.ObjectChangeFilterForm
table = tables.ObjectChangeTable
template_name = 'extras/objectchange_list.html'
action_buttons = ('export',)
actions = ('export',)
class ObjectChangeView(generic.ObjectView):
@ -458,7 +458,7 @@ class JournalEntryListView(generic.ObjectListView):
filterset = filtersets.JournalEntryFilterSet
filterset_form = forms.JournalEntryFilterForm
table = tables.JournalEntryTable
action_buttons = ('export',)
actions = ('export', 'bulk_edit', 'bulk_delete')
class JournalEntryView(generic.ObjectView):