Sha256: e65f8e9131426e05d3b0ad0ecca37110d751a14cd6d6b052bb2c536c62bed88d

Contents?: true

Size: 1.19 KB

Versions: 3

Compression:

Stored size: 1.19 KB

Contents

<div class='job-list'>
  <div class='list'>
    <div class='row'>
      <div class='col-sm-10'>
        <h2>Exceptions for <%= @job.class.name %></h2>
        <%= link_to(@job.class.name, job_path(@job)) %>
        <%= h(@job.description) %>
      </div>

      <div class='col-sm-2'>
        <div class='btn btn-default pull-right dt-reload' data-behavior='reload'>
          <i class='fas fa-sync'></i>
        </div>
      </div>
    </div>

    <table class='table datatable jobs-datatable' data-source='<%= jobs_url(format: 'json') %>' style='width: 100%'>
      <thead>
        <tr>
          <th>Count</th>
          <th>Exception Class</th>
          <th>Exception Messages</th>
        </tr>
      </thead>

      <tbody>
        <% @exceptions.each do |exception| %>
          <tr>
            <th><%= exception.count %></th>
            <th><%= link_to(exception.class_name, exception_job_path(@job, error_type: exception.class_name), class: "card callout") %></th>

            <th>
              <% exception.messages.each do |message| %>
                <div><%= message %></div>
              <% end %>
            </th>
          </tr>
        <% end %>
      </tbody>
    </table>
  </div>
</div>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
rocketjob_mission_control-4.0.0 app/views/rocket_job_mission_control/jobs/exceptions.html.erb
rocketjob_mission_control-3.2.0 app/views/rocket_job_mission_control/jobs/exceptions.html.erb
rocketjob_mission_control-3.1.0 app/views/rocket_job_mission_control/jobs/exceptions.html.erb