%ul.nav.nav-pills.nav-stacked.mySidebar
  .btn-group
    %button{type: 'button', class: 'btn btn-default btn-link dropdown-toggle', 'data-toggle'=>'dropdown'}
      %span.fa.fa-home
      All Conferences
      %span.caret
    %ul.dropdown-menu{role: 'menu'}
      %li
        = link_to(admin_conference_index_path) do
          %span.fa.fa-home
          All Conferences
      - @conferences.each do |conference|
        - if can? :show, conference
          %li
            = link_to(admin_conference_path(conference.short_title)) do
              %span.fa.fa-cog
              Manage
              = conference.short_title
      - if (current_user.is_admin) || (current_user.has_role? :organizer, :any)
        %li
          = link_to(new_admin_conference_path) do
            %span.fa.fa-plus
            New Conference
  - if can? :index, User
    %hr
    %li
      = link_to(admin_users_path) do
        %span.fa.fa-user
        Users
