Sha256: ff73621f2fcf9618138ab28ff3e1acf2214fedfd8aef6a04e4c805b3f623e3e1

Contents?: true

Size: 549 Bytes

Versions: 10

Compression:

Stored size: 549 Bytes

Contents

- if worker.stopping?
  %p Worker is stopping...
  = link_to "destroy", rocket_job_mission_control.worker_path(worker), method: :delete, class: 'btn btn-danger'
-else
  = link_to "stop", rocket_job_mission_control.stop_worker_path(worker), method: :patch, class: 'btn btn-danger'
  - if worker.paused?
    = link_to "resume", rocket_job_mission_control.resume_worker_path(worker), method: :patch, class: 'btn btn-default'
  - else
    = link_to "pause", rocket_job_mission_control.pause_worker_path(worker), method: :patch, class: 'btn btn-default'

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
rocketjob_mission_control-2.1.1 app/views/rocket_job_mission_control/workers/_actions.html.haml
rocketjob_mission_control-2.1.0 app/views/rocket_job_mission_control/workers/_actions.html.haml
rocketjob_mission_control-2.0.0 app/views/rocket_job_mission_control/workers/_actions.html.haml
rocketjob_mission_control-2.0.0.rc2 app/views/rocket_job_mission_control/workers/_actions.html.haml
rocketjob_mission_control-2.0.0.rc1 app/views/rocket_job_mission_control/workers/_actions.html.haml
rocketjob_mission_control-1.2.4 app/views/rocket_job_mission_control/workers/_actions.html.haml
rocketjob_mission_control-1.2.3 app/views/rocket_job_mission_control/workers/_actions.html.haml
rocketjob_mission_control-1.2.2 app/views/rocket_job_mission_control/workers/_actions.html.haml
rocketjob_mission_control-1.2.1 app/views/rocket_job_mission_control/workers/_actions.html.haml
rocketjob_mission_control-1.2.0 app/views/rocket_job_mission_control/workers/_actions.html.haml