rubycentral/cfp-app

View on GitHub
app/views/layouts/nav/staff/_schedule_subnav.html.haml

Summary

Maintainability
Test Coverage
.navbar.navbar-fixed-top.schedule-subnav
  .container-fluid
    %ul.nav.navbar-nav.navbar-left
      %li.download-link
        = link_to event_staff_schedule_time_slots_path(format: :json) do
          %span.glyphicon.glyphicon-download-alt
          %span  Download Schedule JSON
    %ul.nav.navbar-nav.navbar-right
      %li{class: subnav_item_class('event-schedule-grid-link')}
        = link_to event_staff_schedule_grid_path do
          %i.fa.fa-calendar-times-o
          %span Grid
      %li{class: subnav_item_class('event-schedule-time-slots-link')}
        = link_to event_staff_schedule_time_slots_path do
          %i.fa.fa-clock-o
          %span Time Slots
      %li{class: subnav_item_class('event-schedule-rooms-link')}
        = link_to event_staff_schedule_rooms_path do
          %i.fa.fa-tag
          %span Rooms