Sha256: 21886d2ab144c7a7603bc683e8c72b564641ad34040d4d32ac7531998336ee42

Contents?: true

Size: 1.26 KB

Versions: 3

Compression:

Stored size: 1.26 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.state == :error %>
  <a href="<%= url("/#{@plan.id}/skip/#{step.id}") %>" class="postlink">Skip</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

3 entries across 3 versions & 1 rubygems

Version Path
dynflow-0.6.2 web/views/flow_step.erb
dynflow-0.6.1 web/views/flow_step.erb
dynflow-0.6.0 web/views/flow_step.erb