diff --git a/app/views/admin/jobs/index.html.erb b/app/views/admin/jobs/index.html.erb index a946c75..3658522 100644 --- a/app/views/admin/jobs/index.html.erb +++ b/app/views/admin/jobs/index.html.erb @@ -1,49 +1,49 @@
<% @job_categories.each_with_index do |pair, idx| %> <% title, jobs = pair %>
<% jobs.each do |job| %> - + <% if job.domain %> <% else %> <% end %> <% if job.args.size > 70 %> <% else %> <% end %> <% end %>
Id Created at Domain Type Args Retries Controls
<%= job.id %> <%= job.created_at %><%= link_to job.domain.name, domain_path(job.domain) %><%= job.arguments['zone'] %><%= job.job_type %><%= truncate(job.args, length: 70) %><%= job.args %><%= job.retries %> <%= link_to_destroy admin_job_path(job), method: :delete, data: { confirm: 'Are you sure?' } %>
<% end %>