Sha256: c25f601165748aeb8e512a59de332982656add86a0cdf027f20c939e6d873860

Contents?: true

Size: 1.63 KB

Versions: 16

Compression:

Stored size: 1.63 KB

Contents

<% action = load_action(step) %>

<% if flow.is_a? Dynflow::Flows::Atom %>
   <div class="<%= h(atom_css_classes(flow)) %>" style=" width: <%= progress_width(step) %>%;"></div>
<% end %>

<span class="step-label">
  <%= h(step.id) %>: <%= h(step.action_class.name) %>
  (<%= h(action.humanized_state) %>)
  <% unless step.state == :pending %>
    [ <%= duration_to_s(step.real_time) %> / <%= duration_to_s(step.execution_time) %> ]
  <% end %>
</span>
<% if @plan.state == :paused && step.skippable? %>
  <a href="<%= url("/#{@plan.id}/skip/#{step.id}") %>" class="postlink">Skip</a>
<% end %>
<% if step.with_sub_plans? %>
  <a href="<%= url("/#{@plan.id}/actions/#{step.action_id}/sub_plans") %>">Sub plans</a>
<% end %>
<% if step.cancellable? %>
  <a href="<%= url("/#{@plan.id}/cancel/#{step.id}") %>" class="postlink">Cancel</a>
<% end %>

<div class="action">
  <% unless @plan.state == :pending %>
    <p><b>Queue:</b> <%= step.queue %></p>
    <p><b>Started at:</b> <%= h(step.started_at) %></p>
    <p><b>Ended at:</b> <%= h(step.ended_at) %></p>
    <p><b>Real time:</b> <%= duration_to_s(step.real_time) %></p>
    <p><b>Execution time (excluding suspended state):</b> <%= duration_to_s(step.execution_time) %></p>
  <% end %>
  <%= show_action_data("Input:", action.input) %>
  <%= show_action_data("Output:", action.output) %>
  <%= show_action_data("Chunked output:", action.stored_output_chunks) %>
  <% if step.error %>
    <p>
      <b>Error:</b>
    </p>
    <p>
      <%= h(step.error.exception_class) %>
    </p>
    <p>
      <%= h(step.error.message) %>
    </p>
    <p>
      <%= prettyprint(step.error.backtrace) %>
    </p>
  <% end %>
</div>

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
dynflow-1.9.0 web/views/flow_step.erb
dynflow-1.8.3 web/views/flow_step.erb
dynflow-1.8.2 web/views/flow_step.erb
dynflow-1.8.1 web/views/flow_step.erb
dynflow-1.8.0 web/views/flow_step.erb
dynflow-1.7.0 web/views/flow_step.erb
dynflow-1.6.11 web/views/flow_step.erb
dynflow-1.6.10 web/views/flow_step.erb
dynflow-1.6.8 web/views/flow_step.erb
dynflow-1.6.7 web/views/flow_step.erb
dynflow-1.6.6 web/views/flow_step.erb
dynflow-1.6.5 web/views/flow_step.erb
dynflow-1.6.4 web/views/flow_step.erb
dynflow-1.6.3 web/views/flow_step.erb
dynflow-1.6.2 web/views/flow_step.erb
dynflow-1.6.1 web/views/flow_step.erb