%header.navbar.navbar-static-top.navbar-gitlab
  .navbar-inner
    .container
      %div.app_logo
        %span.separator
        = link_to public_root_path, class: "home" do
          %h1 GITLAB
        %span.separator
      %h1.project_name
        - if @project
          = project_title(@project)
        - else
          Public Projects

      .pull-right
        = link_to "Sign in", new_session_path(:user), class: 'btn btn-sign-in btn-new'

      %ul.nav.navbar-nav
        %li
          %a
            %div.hide.turbolink-spinner
              %i.icon-refresh.icon-spin
              Loading...
