debian-mirror-gitlab/app/views/shared/nav/_scope_menu.html.haml

7 lines
502 B
Text
Raw Normal View History

2021-09-30 23:02:18 +05:30
= nav_link(**scope_menu.active_routes, html_options: scope_menu.nav_link_html_options) do
2022-01-26 12:08:38 +05:30
= link_to scope_menu.link, **scope_menu.link_html_options, data: { qa_selector: 'sidebar_menu_link', qa_menu_item: scope_qa_menu_item(scope_menu.container) } do
2021-09-30 23:02:18 +05:30
%span{ class: scope_avatar_classes(scope_menu.container) }
= source_icon(scope_menu.container, alt: scope_menu.title, class: ['avatar', 'avatar-tile', 's32'], width: 32, height: 32)
%span.sidebar-context-title
= scope_menu.title