mirror of
https://github.com/mperham/sidekiq.git
synced 2022-11-09 13:52:34 -05:00
Add queue size to web show page (#3896)
* Add queue size to web show page * Use bootstrap badge for queue size on show Thanks-to: @thegorgon * Use @total_size to avoid a network trip
This commit is contained in:
parent
99922ca4ad
commit
6e18326f69
1 changed files with 1 additions and 0 deletions
|
@ -5,6 +5,7 @@
|
||||||
<% if @queue.paused? %>
|
<% if @queue.paused? %>
|
||||||
<span class="label label-danger"><%= t('Paused') %></span>
|
<span class="label label-danger"><%= t('Paused') %></span>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
<span class="badge badge-secondary"><%= number_with_delimiter(@total_size) %></span>
|
||||||
</h3>
|
</h3>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-sm-4 pull-right flip">
|
<div class="col-sm-4 pull-right flip">
|
||||||
|
|
Loading…
Reference in a new issue