Sha256: 0fe7c200c41f7cd52e19685dba192b8ca5ba7414b0698e8fe5059e004b033973

Contents?: true

Size: 1.5 KB

Versions: 2

Compression:

Stored size: 1.5 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(step.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>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) %>
  <% 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

2 entries across 2 versions & 1 rubygems

Version Path
dynflow-0.7.8 web/views/flow_step.erb
dynflow-0.7.7 web/views/flow_step.erb