Sha256: 126f0fa417d6f272e1f79c57c3a43af11e7c52f0239edfd95103c6918035fcd9

Contents?: true

Size: 770 Bytes

Versions: 2

Compression:

Stored size: 770 Bytes

Contents

<h1>Delayed jobs scheduled for <%= format_time(Time.at(@timestamp)) %></h1>

<p class='sub'>Showing <%= start = params[:start].to_i %> to <%= start + 20 %> of <b><%=size = Resque.delayed_timestamp_size(@timestamp)%></b> jobs</p>

<table class='jobs'>
  <tr>
    <th>Class</th>
    <th>Args</th>
  </tr>
  <% jobs = Resque.delayed_timestamp_peek(@timestamp, start, 20) %>
  <% jobs.each do |job| %>
    <tr>
      <td class='class'><%= job['class'] %></td>
      <td class='args'><%=h job['args'].inspect %></td>
    </tr>
  <% end %>
  <% if jobs.empty? %>
    <tr>
      <td class='no-data' colspan='2'>There are no pending jobs scheduled for this time.</td>
    </tr>
  <% end %>
</table>

<%= render partial: 'next_more', locals: {:start => start, :size => size} %>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
resque-scheduler-web-0.0.2 app/views/resque_web/plugins/resque_scheduler/delayed/timestamp.erb
resque-scheduler-web-0.0.1 app/views/resque_web/plugins/resque_scheduler/delayed/timestamp.erb