13 lines
663 B
Text
13 lines
663 B
Text
|
- 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
|
||
|
= link_to dashboard_groups_path, class: 'qa-your-groups-link' do
|
||
|
= _('Your groups')
|
||
|
= nav_link(path: 'groups#explore') do
|
||
|
= link_to explore_groups_path do
|
||
|
= _('Explore groups')
|
||
|
.frequent-items-dropdown-content
|
||
|
#js-groups-dropdown{ data: { user_name: current_user.username, group: group_meta } }
|