Sha256: e45a475d37c9d746fc527eef17dfa856428a264a2bdb0c5f30383965676e25a1

Contents?: true

Size: 637 Bytes

Versions: 5

Compression:

Stored size: 637 Bytes

Contents

%ul#lg-menu.nav.hidden-xs
  %li
    = link_to(workers_path) do
      %i.fa.fa-list
      All
  - RocketJob::Worker.aasm.states.map { |s| s.name.to_s }.each do |state|
    %li{class: state}
      = link_to("#{state}_workers".to_sym) do
        %i.fa{class: state_icon(state)}
        = state.to_s.capitalize!
        = "(#{worker_counts_by_state(state)})"
/ tiny only nav
%ul#xs-menu.nav.visible-xs
  %li
    = link_to(workers_path) do
      %i.fa.fa-list
  - RocketJob::Worker.aasm.states.map { |s| s.name.to_s }.each do |state|
    %li{class: state}
      = link_to("#{state}_workers".to_sym) do
        %i.fa{class: state_icon(state)}

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
rocketjob_mission_control-2.1.1 app/views/rocket_job_mission_control/workers/_sidebar.html.haml
rocketjob_mission_control-2.1.0 app/views/rocket_job_mission_control/workers/_sidebar.html.haml
rocketjob_mission_control-2.0.0 app/views/rocket_job_mission_control/workers/_sidebar.html.haml
rocketjob_mission_control-2.0.0.rc2 app/views/rocket_job_mission_control/workers/_sidebar.html.haml
rocketjob_mission_control-2.0.0.rc1 app/views/rocket_job_mission_control/workers/_sidebar.html.haml