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

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

%nav.breadcrumbs{ 'aria-label': _('Breadcrumbs'), data: { testid: 'breadcrumb-links' } }
  %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_inline_list", location: :after
    - unless @skip_current_level_breadcrumb
      %li{ data: { testid: 'breadcrumb-current-link' } }
        = link_to @breadcrumb_title, breadcrumb_title_link
  -# haml-lint:disable InlineJavaScript
  %script{ type: 'application/ld+json' }
    :plain
      #{schema_breadcrumb_json}
= yield :header_content