Sha256: 2e9997b981b43cccb897b7df173d43c597327d2421d61ad0263b4779a3060e31

Contents?: true

Size: 823 Bytes

Versions: 3

Compression:

Stored size: 823 Bytes

Contents

%ul#lg-menu.nav.hidden-xs
  %li
    = link_to(new_dirmon_entry_path) do
      %i.fa.fa-plus
      New Entry
  %li
    = link_to(dirmon_entries_path) do
      %i.fa.fa-list
      All
  - RocketJob::DirmonEntry.aasm.states.map { |s| s.name.to_s }.each do |state|
    %li{class: state}
      = link_to("#{state}_dirmon_entries".to_sym) do
        %i.fa{class: state_icon(state)}
        = state.to_s.capitalize!
        = "(#{dirmon_counts_by_state(state)})"
/ tiny only nav
%ul#xs-menu.nav.visible-xs
  %li
    = link_to(new_dirmon_entry_path) do
      %i.fa.fa-plus
  %li
    = link_to(dirmon_entries_path) do
      %i.fa.fa-list
  - RocketJob::DirmonEntry.aasm.states.map { |s| s.name.to_s }.each do |state|
    %li{class: state}
      = link_to("#{state}_dirmon_entries".to_sym) do
        %i.fa{class: state_icon(state)}

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
rocketjob_mission_control-2.0.0 app/views/rocket_job_mission_control/dirmon_entries/_sidebar.html.haml
rocketjob_mission_control-2.0.0.rc2 app/views/rocket_job_mission_control/dirmon_entries/_sidebar.html.haml
rocketjob_mission_control-2.0.0.rc1 app/views/rocket_job_mission_control/dirmon_entries/_sidebar.html.haml