web/views/status.erb in sidekiq-hierarchy-0.1.2 vs web/views/status.erb in sidekiq-hierarchy-0.1.3
- old
+ new
@@ -4,11 +4,12 @@
<%= erb sidekiq_hierarchy_template(:_search_bar) %>
<div class="panel panel-info">
<div class="panel-heading">
<a href="<%= workflow_set_url(:running) %>">
- <h4>Running Workflows</h4>
+ <h4 style="display:inline">Running Workflows</h4>
+ (<%= @running_set.size %> total, displaying <%= @running.size %> newest)
</a>
</div>
<div class="panel-body">
<div class="table_container">
@@ -40,11 +41,12 @@
</div>
<div class="panel panel-success">
<div class="panel-heading">
<a href="<%= workflow_set_url(:complete) %>">
- <h4>Complete Workflows</h4>
+ <h4 style="display:inline">Complete Workflows</h4>
+ (<%= @complete_set.size %> total, displaying <%= @complete.size %> newest)
</a>
</div>
<div class="panel-body">
<div class="table_container">
@@ -80,10 +82,11 @@
</div>
<div class="panel panel-danger">
<div class="panel-heading">
<a href="<%= workflow_set_url(:failed) %>">
- <h4>Failed Workflows</h4>
+ <h4 style="display:inline">Failed Workflows</h4>
+ (<%= @failed_set.size %> total, displaying <%= @failed.size %> newest)
</a>
</div>
<div class="panel-body">
<div class="table_container">