Welcome to mirror list, hosted at ThFree Co, Russian Federation.

_breadcrumbs.html.haml « nav « layouts « views « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 475d89f11568c04392cd126f3472e6d6ca455b81 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
- breadcrumb_title = @breadcrumb_title || controller.controller_name.humanize
- hide_top_links = @hide_top_links || false

%nav.breadcrumbs{ role: "navigation" }
  .breadcrumbs-container{ class: [container_class, @content_class] }
    %button.toggle-mobile-nav
      = icon ('bars')
    .breadcrumbs-links.js-title-container
      - unless hide_top_links
        .title
          = link_to "GitLab", root_path
          \/
          = header_title
      %h2.breadcrumbs-sub-title
        %ul.list-unstyled
          - if content_for?(:sub_title_before)
            = yield :sub_title_before
          %li= link_to breadcrumb_title, request.path
    - if content_for?(:breadcrumbs_extra)
      .breadcrumbs-extra.hidden-xs= yield :breadcrumbs_extra
    = yield :header_content