Sha256: 09043310a13ec1ad6e63a73c1159c15d93ad96ef12dc47f2b16501350fedc527

Contents?: true

Size: 717 Bytes

Versions: 5

Compression:

Stored size: 717 Bytes

Contents

<h1>Jobs</h1>

<table class='table'>
  <thead>
    <tr>
      <th>ID</th>
      <th>Worker</th>
      <th>Status</th>
      <th>Progress</th>
      <th>Started At</th>
      <th>Finished At</th>
      <th>Tasks</th>
    </tr>
  </thead>

  <tbody>
    <% @jobs.each do |job| %>
      <tr>
        <td><%= job.id %></td>
        <td><%= job.worker.name %></td>
        <td><%= job.status %></td>
        <td><%= job.progress %></td>
        <td><%= time_ago_in_words(job.started_at) if job.started_at.present? %></td>
        <td><%= time_ago_in_words(job.finished_at) if job.finished_at.present?%></td>
        <td><%= link_to "Tasks", tasks_path(job_id: job.id) %></td>
      </tr>
    <% end %>
  </tbody>
</table>

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
integration_pal-0.2.3 app/views/integration_pal/jobs/index.html.erb
integration_pal-0.2.2 app/views/integration_pal/jobs/index.html.erb
integration_pal-0.2.1 app/views/integration_pal/jobs/index.html.erb
integration_pal-0.2.0 app/views/integration_pal/jobs/index.html.erb
integration_pal-0.1.6 app/views/integration_pal/jobs/index.html.erb