Sha256: fce730c98fe0bfe9318ee2f4ce1bbca7713e3e5a2d7aefd35bec18ae9f258aac

Contents?: true

Size: 532 Bytes

Versions: 2

Compression:

Stored size: 532 Bytes

Contents

- @process.steps.each do |step|
  %tr.step{:id => "step-#{step.seq}"}
    %td= link_to step.seq, yawl_process_step_path(@process.id, step.id)
    %td
      = step.name
      - if step.state == "failed" && @process.current?
        = link_to "<i class='icon-refresh icon-white'></i> Retry".html_safe, restart_yawl_process_path(@process.id), :method => :post, :class => "btn btn-mini btn-primary"
    %td.step-state= step.state
    %td= step.attempts.count
    %td
      - if step.attempts.count > 0
        = "%.1fs" % step.duration

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
yawl_rails-0.1.1 app/views/yawl_rails/processes/_step_rows.html.haml
yawl_rails-0.1.0 app/views/yawl_rails/processes/_step_rows.html.haml