Sha256: 6732c7d2ad449d99f775842954b0204c60bb733b17a369047ba69ee08542c441
Contents?: true
Size: 1.26 KB
Versions: 14
Compression:
Stored size: 1.26 KB
Contents
<% if @task.is_a? ForemanTasks::Task::DynflowTask %> <div> <% running_steps = @task.running_steps %> <% if running_steps.empty? %> <%= _("No running steps") %> <% else %> <% running_steps.each do |step| %> <% action = step.action(@task.execution_plan) %> <div class="alert alert-warning"> <p> <% if @task.cancellable_action?(action) %> <%= link_to(_('Cancel'), cancel_step_foreman_tasks_task_path(@task, :step_id => step.id), class: ['btn', 'btn-sm', 'btn-primary'].compact, method: :post) %> <% end %> </p> <p> <span class="param-name"><%= _("Action") %>:</span> <span class="param-value"> <pre><%= action.class %></pre> </span> <span class="param-name"><%= _("Input") %>:</span> <span class="param-value"> <pre><%= action.input.pretty_inspect %></pre> </span> <span class="param-name"><%= _("Output") %>:</span> <span class="param-value"> <pre><%= action.output.pretty_inspect %></pre> </span> </div> <% end %> </p> <% end %> </div> <% end %>
Version data entries
14 entries across 14 versions & 1 rubygems