Sha256: cd3e175d53749ff977b55a0c6ba34c74cc674c638f812268bcb4f2da79233d51
Contents?: true
Size: 1.45 KB
Versions: 26
Compression:
Stored size: 1.45 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 = ForemanTasks.dynflow.world.persistence.load_action(step) %> <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> <p> <span class="param-name"><%= _("State") %>:</span> <span class="param-value"><%= action.humanized_state %></span> </p> <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
26 entries across 26 versions & 1 rubygems