Sha256: c52580b683f08109f062de996f76f6a2a9fd8ee0ac808ad40181a2b34efc2a0f
Contents?: true
Size: 1.09 KB
Versions: 1
Compression:
Stored size: 1.09 KB
Contents
<div class='lead'>Dates:</div> <div class='row'> <div class='col-md-12'> <table> <tr> <td><label>Created:</label></td> <td><%= job_time(@job.created_at) %></td> </tr> <% if !@job.queued? %> <tr> <td><label><%= job_state_name(@job) %>:</label></td> <td> <%= job_state_time(@job) %> <% unless @job.scheduled? %> , <%= RocketJob.seconds_as_duration(Time.now - (@job.completed_at || @job.started_at || @job.created_at)) %> ago <% end %> </td> </tr> <% end %> <% if @job.scheduled? %> <tr> <td><label>Run At:</label></td> <td><%= job_time(@job.run_at) %></td> </tr> <tr> <td><label>Runs In:</label></td> <td><%= RocketJob.seconds_as_duration(@job.run_at - Time.now) %></td> </tr> <% end %> <% if @job.expires_at %> <tr> <td><label>Expires At:</label></td> <td><%= job_time(@job.expires_at) %></td> </tr> <% end %> </table> </div> </div> <br/>
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/_dates.html.erb |