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

_explore.html.haml « nav « layouts « views « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 5b47eb27b04a64c4fed142f58c5813024183bcb0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
-# WARNING! This file is slated to be removed along with the `combined_menu`
-# feature flag. The logic here will be migrated to an upcoming `top_nav_helper`.
-# Please see [this MR][1] for more context.
-# [1]: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/56587
%ul.list-unstyled.navbar-sub-nav
  - if explore_nav_link?(:projects)
    = nav_link(path: ['dashboard#show', 'root#show', 'projects#trending', 'projects#starred', 'projects#index'], html_options: {class: 'home'}) do
      = link_to explore_root_path, title: _('Projects'), class: 'dashboard-shortcuts-projects' do
        = _('Projects')
  - if explore_nav_link?(:groups)
    = nav_link(controller: [:groups, 'groups/milestones', 'groups/group_members']) do
      = link_to explore_groups_path, title: _('Groups'), class: 'dashboard-shortcuts-groups' do
        = _('Groups')
  - if explore_nav_link?(:snippets)
    = nav_link(controller: :snippets) do
      = link_to explore_snippets_path, title: _('Snippets'), class: 'dashboard-shortcuts-snippets' do
        = _('Snippets')
  %li
    = link_to _("Help"), help_path, title: _('About GitLab CE')