GitLab steht aufgrund wichtiger Wartungsarbeiten am Montag, den 8. März, zwischen 17:00 und 19:00 Uhr nicht zur Verfügung.

_default.html.haml 1.25 KB
Newer Older
Dmitriy Zaporozhets's avatar
Dmitriy Zaporozhets committed
1
%header.navbar.navbar-fixed-top.navbar-gitlab{ class: nav_header_class }
2
  %div{ class: fluid_layout ? "container-fluid" : "container-fluid container-limited" }
Dmitriy Zaporozhets's avatar
Dmitriy Zaporozhets committed
3
    .header-content
4
      %button.navbar-toggle{type: 'button'}
Dmitriy Zaporozhets's avatar
Dmitriy Zaporozhets committed
5 6
        %span.sr-only Toggle navigation
        = icon('bars')
7

Dmitriy Zaporozhets's avatar
Dmitriy Zaporozhets committed
8
      .navbar-collapse.collapse
9
        %ul.nav.navbar-nav.pull-right
Dmitriy Zaporozhets's avatar
Dmitriy Zaporozhets committed
10 11 12 13 14 15 16 17 18 19
          %li.hidden-sm.hidden-xs
            = render 'layouts/search'
          %li.visible-sm.visible-xs
            = link_to search_path, title: 'Search', data: {toggle: 'tooltip', placement: 'bottom'} do
              = icon('search')
          - if current_user.is_admin?
            %li
              = link_to admin_root_path, title: 'Admin area', data: {toggle: 'tooltip', placement: 'bottom'} do
                = icon('wrench fw')
          - if current_user.can_create_project?
Dmitriy Zaporozhets's avatar
Dmitriy Zaporozhets committed
20
            %li.hidden-xs
Dmitriy Zaporozhets's avatar
Dmitriy Zaporozhets committed
21 22
              = link_to new_project_path, title: 'New project', data: {toggle: 'tooltip', placement: 'bottom'} do
                = icon('plus fw')
23 24 25
          %li
            = link_to destroy_user_session_path, class: 'logout', method: :delete, title: 'Sign out', data: {toggle: 'tooltip', placement: 'bottom'} do
              = icon('sign-out')
26

27 28
      %h1.title= title

29
= render 'shared/outdated_browser'