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: feffd7707dc7a905b031dba472bbfe6a69661a6c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
- container = @no_breadcrumb_container ? 'container-fluid' : container_class
- hide_top_links = @hide_top_links || false

%nav.breadcrumbs{ role: "navigation", class: [container, @content_class] }
  .breadcrumbs-container{ class: [container, @content_class] }
    - if defined?(@left_sidebar)
      = button_tag class: 'toggle-mobile-nav', type: 'button' do
        %span.sr-only Open sidebar
        = icon ('bars')
    .breadcrumbs-links.js-title-container
      %ul.list-unstyled.breadcrumbs-list.js-breadcrumbs-list
        - unless hide_top_links
          = header_title
        - if @breadcrumbs_extra_links
          - @breadcrumbs_extra_links.each do |extra|
            = breadcrumb_list_item link_to(extra[:text], extra[:link])
        = render "layouts/nav/breadcrumbs/collapsed_dropdown", location: :after
        %li
          %h2.breadcrumbs-sub-title= @breadcrumb_title
    - if content_for?(:breadcrumbs_extra)
      .breadcrumbs-extra.hidden-xs= yield :breadcrumbs_extra
    = yield :header_content