mirror of
https://github.com/netbox-community/netbox.git
synced 2025-08-17 21:18:16 -06:00
14729 review fixes
This commit is contained in:
parent
f1e585c2b9
commit
f143c90387
@ -247,6 +247,7 @@ class BackgroundQueuesListView(LoginRequiredMixin, View):
|
||||
|
||||
def get(self, request):
|
||||
table = tables.BackgroundQueueTable(get_statistics(run_maintenance_tasks=True)["queues"])
|
||||
table.configure(request)
|
||||
return render(request, 'core/background_tasks.html', {
|
||||
'table': table,
|
||||
})
|
||||
@ -264,6 +265,7 @@ class BackgroundTasksListView(LoginRequiredMixin, View):
|
||||
jobs = []
|
||||
|
||||
table = tables.BackgroundTaskTable(data=jobs, queue_index=queue_index)
|
||||
table.configure(request)
|
||||
return render(request, 'core/background_tasks_queue.html', {
|
||||
'table': table,
|
||||
'queue': queue,
|
||||
|
Loading…
Reference in New Issue
Block a user