|
<%= job_time(@job.created_at) %> |
<% if !@job.queued? %>
|
<%= job_state_time(@job) %>
<% unless @job.scheduled? %>
, <%= RocketJob.seconds_as_duration(Time.now - (@job.completed_at || @job.started_at || @job.created_at)) %> ago
<% end %>
|
<% end %>
<% if @job.scheduled? %>
|
<%= job_time(@job.run_at) %> |
|
<%= RocketJob.seconds_as_duration(@job.run_at - Time.now) %> |
<% end %>
<% if @job.expires_at %>
|
<%= job_time(@job.expires_at) %> |
<% end %>