mixin renderJobQueueJobList (jobQueue, jobList)
  if !Array.isArray(jobList) || (jobList.length === 0)
    div No jobs
  else
    table.uk-table.uk-table-small
      thead
        th ID
        th Name
        th Attempts
        th Progress
      tbody
        each job in jobList
          tr
            td= job.id
            td
              a(href=`/admin/job-queue/${jobQueue.name}/${job.id}`)= job.name
            td= job.attemptsMade
            td #{job.progress()}%
