Sha256: d8eea7f5f14a91ad054626494ff9e54760dda10dbd44360e1dba7f808b1feca4

Contents?: true

Size: 1.2 KB

Versions: 1

Compression:

Stored size: 1.2 KB

Contents

<%= render partial: 'details', locals: {job: @job} %>
<%= render partial: 'dates', locals: {job: @job} %>
<% if @job.respond_to?(:failed_at_list) && @job.failed_at_list.present? %>
  <%= render partial: 'retryable', locals: {job: @job} %>
<% end %>
<% if @job.respond_to?(:input) && @job.input.failed.count.positive? %>
  <div class='status-message'>
    <label><%= 'Exceptions' %>:</label>
    <%= render partial: 'exceptions', locals: {job: @job} %>
  </div>
<% elsif @job.exception.present? %>
  <%= render partial: 'exception', locals: {job: @job} %>
<% end %>
<% if @job.respond_to?(:statistics) && @job.statistics.present? %>
  <div class='status-message'>
    <label>Statistics:</label>
    <pre><code><%= @job.statistics.ai(plain: true, ruby19_syntax: true, sort_keys: true) %></code></pre>
  </div>
  <br/>
<% end %>
<% if @job.respond_to?(:input_categories) %>
  <%= render partial: 'input_categories', locals: {job: @job} %>
<% end %>
<% if @job.respond_to?(:output_categories) %>
  <%= render partial: 'output_categories', locals: {job: @job} %>
<% end %>
<% @attributes = job_custom_fields(@job) %>
<% if @attributes.present? %>
  <%= render partial: 'attributes', locals: {attributes: @attributes} %>
<% end %>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rocketjob_mission_control-6.0.0.beta app/views/rocket_job_mission_control/jobs/_status.html.erb