%header.navbar.navbar-fixed-top.navbar-gitlab{ class: nav_header_class }
  .container
    %div.app_logo
      = link_to explore_root_path, class: "home" do
        = brand_header_logo
        %h3 GitLab
    %h1.title= title

    %button.navbar-toggle{"data-target" => ".navbar-collapse", "data-toggle" => "collapse", type: "button"}
      %span.sr-only Toggle navigation
      %i.fa.fa-bars

    - unless current_controller?('sessions')
      .pull-right.hidden-xs
        = link_to "Sign in", new_session_path(:user, redirect_to_referer: 'yes'), class: 'btn btn-sign-in btn-new append-right-10'

      .navbar-collapse.collapse
        %ul.nav.navbar-nav
          %li.visible-xs
            = link_to "Sign in", new_session_path(:user, redirect_to_referer: 'yes')

= render 'shared/outdated_browser'
