debian-mirror-gitlab/app/views/layouts/nav/groups_dropdown/_show.html.haml

13 lines
828 B
Text
Raw Normal View History

2018-11-08 19:23:39 +05:30
- group_meta = { id: @group.id, name: @group.name, namespace: @group.full_name, web_url: group_path(@group), avatar_url: @group.avatar_url } if @group&.persisted?
.frequent-items-dropdown-container
.frequent-items-dropdown-sidebar.qa-groups-dropdown-sidebar
%ul
= nav_link(path: 'dashboard/groups#index') do
2021-02-22 17:27:13 +05:30
= link_to dashboard_groups_path, class: 'qa-your-groups-link', data: { track_label: "groups_dropdown_your_groups", track_event: "click_link" } do
2018-11-08 19:23:39 +05:30
= _('Your groups')
= nav_link(path: 'groups#explore') do
2021-02-22 17:27:13 +05:30
= link_to explore_groups_path, data: { track_label: "groups_dropdown_explore_groups", track_event: "click_link" } do
2018-11-08 19:23:39 +05:30
= _('Explore groups')
.frequent-items-dropdown-content
#js-groups-dropdown{ data: { user_name: current_user.username, group: group_meta } }