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

_collapsed_inline_list.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: dd2d23320bed0b26696d8062c732c5e054956f8a (plain)
1
2
3
4
5
6
7
8
9
10
11
- dropdown_location = local_assigns.fetch(:location, nil)
- button_tooltip = local_assigns.fetch(:title, _("Show all breadcrumbs"))
- if defined?(@breadcrumb_collapsed_links) && @breadcrumb_collapsed_links.key?(dropdown_location)
  %li.expander
    %button.text-expander.has-tooltip.js-breadcrumbs-collapsed-expander{ type: "button", data: { container: "body" }, "aria-label": button_tooltip, title: button_tooltip }
      = sprite_icon("ellipsis_h", size: 12)
    = sprite_icon("chevron-lg-right", size: 8, css_class: "breadcrumbs-list-angle")
  - @breadcrumb_collapsed_links[dropdown_location].each_with_index do |link, index|
    %li{ :class => "gl-display-none! breadcrumbs-detail-item" }
      = link
      = sprite_icon("chevron-lg-right", size: 8, css_class: "breadcrumbs-list-angle")