mirror of
https://github.com/internetee/registry.git
synced 2025-08-03 16:32:04 +02:00
Basic delayed jobs queue display and rubocop fixes
This commit is contained in:
parent
c7b58d8b06
commit
f4ebbbdc95
5 changed files with 36 additions and 5 deletions
24
app/views/admin/delayed_jobs/index.haml
Normal file
24
app/views/admin/delayed_jobs/index.haml
Normal file
|
@ -0,0 +1,24 @@
|
|||
.row
|
||||
.col-sm-12
|
||||
%h2.text-center-xs= t('shared.jobs')
|
||||
|
||||
%hr
|
||||
.row
|
||||
.col-md-12
|
||||
.table-responsive
|
||||
%table.table.table-hover.table-bordered.table-condensed
|
||||
%thead
|
||||
%tr
|
||||
%th{class: 'col-xs-2'}= t('shared.priority')
|
||||
%th{class: 'col-xs-2'}= t('shared.attempts')
|
||||
%th{class: 'col-xs-2'}= t('shared.last_error')
|
||||
%th{class: 'col-xs-1'}= t('shared.run_at')
|
||||
%th{class: 'col-xs-1'}= t('shared.created_at')
|
||||
%tbody
|
||||
- @jobs.each do |job|
|
||||
%tr
|
||||
%td= job.priority
|
||||
%td= job.attempts
|
||||
%td= job.last_error
|
||||
%td= job.run_at
|
||||
%td= job.created_at
|
Loading…
Add table
Add a link
Reference in a new issue