Sha256: f2c67619f0a6821537288afecfdb3e89fe7d587f6ffe164e8c76b51c49dbaffb

Contents?: true

Size: 559 Bytes

Versions: 4

Compression:

Stored size: 559 Bytes

Contents

<h1>Timestamps where delayed jobs are scheduled for class:<br> <%= params[:klass] %></h1>
<h2>With params: <%= @args %></h2>

<table class='jobs table table-bordered'>
  <tr>
    <th><%= "Timestamp".pluralize(@timestamps.size) %></th>
  </tr>

  <% @timestamps.each do |t| %>
    <tr>
      <td>
        <%= link_to Time.at(t), timestamp_path(timestamp: t.to_i), class: 'timestamp-link' %>
      </td>
    </tr>
  <% end %>
  <% if @timestamps.empty? %>
    <tr>
      <td class='no-data'>There are no such jobs scheduled.</td>
    </tr>
  <% end %>
</table>

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
resque-scheduler-web-1.1.0 app/views/resque_web/plugins/resque_scheduler/delayed/jobs_klass.erb
resque-scheduler-web-1.0.1 app/views/resque_web/plugins/resque_scheduler/delayed/jobs_klass.erb
resque-scheduler-web-1.0.0 app/views/resque_web/plugins/resque_scheduler/delayed/jobs_klass.erb
resque-scheduler-web-0.0.4 app/views/resque_web/plugins/resque_scheduler/delayed/jobs_klass.erb