web/views/busy.erb in sidekiq-6.5.7 vs web/views/busy.erb in sidekiq-6.5.8
- old
+ new
@@ -94,10 +94,15 @@
<div class="row header">
<div class="col-sm-7">
<h3><%= t('Jobs') %></h3>
</div>
+ <% if @workset.size > 0 && @total_size > @count %>
+ <div class="col-sm-4">
+ <%= erb :_paging, locals: { url: "#{root_path}busy" } %>
+ </div>
+ <% end %>
</div>
<div class="table_container">
<table class="workers table table-hover table-bordered table-striped">
<thead>
@@ -107,10 +112,10 @@
<th><%= t('Queue') %></th>
<th><%= t('Job') %></th>
<th><%= t('Arguments') %></th>
<th><%= t('Started') %></th>
</thead>
- <% workset.each do |process, thread, msg| %>
+ <% @workset.each do |process, thread, msg| %>
<% job = Sidekiq::JobRecord.new(msg['payload']) %>
<tr>
<td><%= process %></td>
<td><%= thread %></td>
<td><%= job.jid %></td>