web/views/status.erb in sidekiq-hierarchy-1.0.0 vs web/views/status.erb in sidekiq-hierarchy-1.1.0
- old
+ new
@@ -1,9 +1,9 @@
<h3>Sidekiq Hierarchy</h3>
-<%= erb sidekiq_hierarchy_template(:_summary_bar) %>
-<%= erb sidekiq_hierarchy_template(:_search_bar) %>
+<%= erb :_summary_bar %>
+<%= erb :_search_bar %>
<div class="panel panel-info">
<div class="panel-heading">
<a href="<%= workflow_set_url(:running) %>">
<h4 style="display:inline">Running Workflows</h4>
@@ -75,11 +75,11 @@
<% end%>
</tbody>
</table>
</div>
- <%= erb sidekiq_hierarchy_template(:_workflow_set_clear), locals: {status: :complete} %>
+ <%= erb :_workflow_set_clear, locals: {status: :complete} %>
</div>
</div>
<div class="panel panel-danger">
<div class="panel-heading">
@@ -116,8 +116,8 @@
<% end %>
</tbody>
</table>
</div>
- <%= erb sidekiq_hierarchy_template(:_workflow_set_clear), locals: {status: :failed} %>
+ <%= erb :_workflow_set_clear, locals: {status: :failed} %>
</div>
</div>