web/views/workflow.erb in sidekiq-hierarchy-1.0.0 vs web/views/workflow.erb in sidekiq-hierarchy-1.1.0
- old
+ new
@@ -1,8 +1,8 @@
<h3>Workflow <%= @workflow.jid %></h3>
-<%= erb sidekiq_hierarchy_template(:_workflow_progress_bar), locals: {workflow: @workflow} %>
+<%= erb :_workflow_progress_bar, locals: {workflow: @workflow} %>
<div class="table_container">
<table class="table table-condensed table-white">
<thead>
<tr>
@@ -24,16 +24,16 @@
</tr>
</tbody>
</table>
</div>
-<%= erb sidekiq_hierarchy_template(:_workflow_timings), locals: {workflow: @workflow} %>
+<%= erb :_workflow_timings, locals: {workflow: @workflow} %>
<h4>Job Tree</h4>
-<%= erb sidekiq_hierarchy_template(:_workflow_tree), locals: {root: @workflow.root} %>
+<%= erb :_workflow_tree, locals: {root: @workflow.root} %>
<h4>Jobs</h4>
-<%= erb sidekiq_hierarchy_template(:_job_table), locals: {jobs: @workflow.jobs} %>
+<%= erb :_job_table, locals: {jobs: @workflow.jobs} %>
<% unless @workflow.running? %>
<form action="<%= workflow_url(@workflow) %>" method="post">
<div style="margin:0;padding:0">
<input name="_method" type="hidden" value="delete" />