Sha256: bca326c2d86d0665f6f28859edb0447aef922b316c37c0f72a0c0e51997e7197

Contents?: true

Size: 536 Bytes

Versions: 4

Compression:

Stored size: 536 Bytes

Contents

- @process.steps.each do |step|
  %tr.step{:id => "step-#{step.seq}"}
    %td= link_to step.seq, yawl_process_step_path(@process.name, 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.name), :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

4 entries across 4 versions & 1 rubygems

Version Path
yawl_rails-0.3.0 app/views/yawl_rails/processes/_step_rows.html.haml
yawl_rails-0.2.2 app/views/yawl_rails/processes/_step_rows.html.haml
yawl_rails-0.2.1 app/views/yawl_rails/processes/_step_rows.html.haml
yawl_rails-0.2.0 app/views/yawl_rails/processes/_step_rows.html.haml