Sha256: 2614a6e3b8ea0b1156cb3418b33ed86e6ee246d8dd227191de8dd4625352e75e

Contents?: true

Size: 1.21 KB

Versions: 14

Compression:

Stored size: 1.21 KB

Contents

.service-chain
  .wizard
    .wizard-track.bg-light
    - service_chain.steps.each_with_index do |step, index|
      - if step.display?
        .wizard-step{ class: [step.completion_status, (step.actual? ? :actual : nil)].compact.join(" "), id: "step#{index + 1}" }
          - if step.actual?
            %span.wizard-step-marker.rounded-circle.bg-primary.text-white
              %i.fas.fa-play
            %span.wizard-step-label
              - if options.dig(:actual_step, :link)
                = link_to(step.label, step.url(self))
              - else
                = step.label
          - else
            - if step.render_as_completed?(options)
              %span.wizard-step-marker.rounded-circle.bg-success.text-white.render-completed
                %i.fas.fa-check
            - else
              %span.wizard-step-marker.rounded-circle.bg-secondary.text-white.render-pending
                %i.fas.fa-circle
            %span.wizard-step-label
              - if (service_chain.before_actual?(step) && options.dig(:previous_steps, :link)) || (service_chain.after_actual?(step) && options.dig(:next_steps, :link))
                = link_to(step.label, step.url(self))
              - else
                = step.label

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
rao-service_chain-0.0.52.pre app/views/rao/service_chain/application_view_helper/render_progress/_bootstrap4.html.haml
rao-service_chain-0.0.51.pre app/views/rao/service_chain/application_view_helper/render_progress/_bootstrap4.html.haml
rao-service_chain-0.0.50.pre app/views/rao/service_chain/application_view_helper/render_progress/_bootstrap4.html.haml
rao-service_chain-0.0.49.pre app/views/rao/service_chain/application_view_helper/render_progress/_bootstrap4.html.haml
rao-service_chain-0.0.48.pre app/views/rao/service_chain/application_view_helper/render_progress/_bootstrap4.html.haml
rao-service_chain-0.0.47.pre app/views/rao/service_chain/application_view_helper/render_progress/_bootstrap4.html.haml
rao-service_chain-0.0.46.pre app/views/rao/service_chain/application_view_helper/render_progress/_bootstrap4.html.haml
rao-service_chain-0.0.45.pre app/views/rao/service_chain/application_view_helper/render_progress/_bootstrap4.html.haml
rao-service_chain-0.0.44.pre app/views/rao/service_chain/application_view_helper/render_progress/_bootstrap4.html.haml
rao-service_chain-0.0.43.pre app/views/rao/service_chain/application_view_helper/render_progress/_bootstrap4.html.haml
rao-service_chain-0.0.42.pre app/views/rao/service_chain/application_view_helper/render_progress/_bootstrap4.html.haml
rao-service_chain-0.0.41.pre app/views/rao/service_chain/application_view_helper/render_progress/_bootstrap4.html.haml
rao-service_chain-0.0.40.pre app/views/rao/service_chain/application_view_helper/render_progress/_bootstrap4.html.haml
rao-service_chain-0.0.39.pre app/views/rao/service_chain/application_view_helper/render_progress/_bootstrap4.html.haml