1
0
Fork 0
mirror of https://github.com/mperham/sidekiq.git synced 2022-11-09 13:52:34 -05:00

Made summary links for busy, scheduled, retries and enqueued clickable

This commit is contained in:
Alex Handley 2013-09-24 18:17:46 +01:00
parent b7e7d7fcd9
commit e935000e76

View file

@ -8,19 +8,27 @@
<span class="desc"><%= t('Failed') %></span>
</li>
<li class="busy span2">
<span class="count"><%= number_with_delimiter(workers_size) %></span>
<span class="desc"><%= t('Busy') %></span>
<a href="<%= root_path %>workers">
<span class="count"><%= number_with_delimiter(workers_size) %></span>
<span class="desc"><%= t('Busy') %></span>
</a>
</li>
<li class="scheduled span2">
<span class="count"><%= number_with_delimiter(stats.scheduled_size) %></span>
<span class="desc"><%= t('Scheduled') %></span>
<a href="<%= root_path %>scheduled">
<span class="count"><%= number_with_delimiter(stats.scheduled_size) %></span>
<span class="desc"><%= t('Scheduled') %></span>
</a>
</li>
<li class="retries span2">
<span class="count"><%= number_with_delimiter(stats.retry_size) %></span>
<span class="desc"><%= t('Retries') %></span>
<a href="<%= root_path %>retries">
<span class="count"><%= number_with_delimiter(stats.retry_size) %></span>
<span class="desc"><%= t('Retries') %></span>
</a>
</li>
<li class="enqueued span2">
<span class="count"><%= number_with_delimiter(stats.enqueued) %></span>
<span class="desc"><%= t('Enqueued') %></span>
<a href="<%= root_path %>queues">
<span class="count"><%= number_with_delimiter(stats.enqueued) %></span>
<span class="desc"><%= t('Enqueued') %></span>
</a>
</li>
</ul>