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

_show.html.haml « projects_dropdown « nav « layouts « views « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: a7370180bf621fd0304bcad69fbbaa8ceb7d518a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
- project_meta = { id: @project.id, name: @project.name, namespace: @project.name_with_namespace, web_url: @project.web_url, avatar_url: @project.avatar_url } if @project&.persisted?
.projects-dropdown-container
  .project-dropdown-sidebar
    %ul
      = nav_link(path: 'dashboard/projects#index') do
        = link_to dashboard_projects_path do
          = _('Your projects')
      = nav_link(path: 'projects#starred') do
        = link_to starred_dashboard_projects_path do
          = _('Starred projects')
      = nav_link(path: 'projects#trending') do
        = link_to explore_root_path do
          = _('Explore projects')
  .project-dropdown-content
    #js-projects-dropdown{ data: { user_name: current_user.username, project: project_meta } }