Sha256: 21448ed09b37cdafd1786945d651a4ee27f1dc99541d101e8b45cb5894fed1a6

Contents?: true

Size: 750 Bytes

Versions: 6

Compression:

Stored size: 750 Bytes

Contents

- unless current_task.is_completed?
  = re_card_content do
    .text-center
      - if can_execute_task?(current_task)
        = link_to 'Execute NOW!!!', execute_task_path(current_task), class: 'btn btn-block btn-primary', method: :patch, data: { confirm: 'Are you sure?' }
        - if RailsExecution.configuration.task_background
          = link_to 'Execute in background!', execute_in_background_task_path(current_task), class: 'btn btn-block btn-secondary', method: :patch, data: { confirm: 'Are you sure?' }
      - else
        %p.text-danger.mb-0.fw-bold
          %i.bi.bi-x-octagon.me-1
          Not ready to Execute!
        %span.fs-13.text-muted.fw-lighter.mb-0
          %i.bi.bi-megaphone
          = how_to_executable(current_task)

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
rails_execution-0.1.12 app/views/rails_execution/tasks/_actions.html.haml
rails_execution-0.1.11 app/views/rails_execution/tasks/_actions.html.haml
rails_execution-0.1.10 app/views/rails_execution/tasks/_actions.html.haml
rails_execution-0.1.9 app/views/rails_execution/tasks/_actions.html.haml
rails_execution-0.1.8 app/views/rails_execution/tasks/_actions.html.haml
rails_execution-0.1.7 app/views/rails_execution/tasks/_actions.html.haml