summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorkushalpandya <kushal@gitlab.com>2017-09-05 14:25:43 +0530
committerkushalpandya <kushal@gitlab.com>2017-09-05 14:25:43 +0530
commitccaf0798612e39e6400ce6c434bf0ff122bed7b4 (patch)
tree131c7f756f249c9c343f3aeb16e63581ac5181ac /app
parent3440d90983954466a69dcb2804f2562b51762d63 (diff)
downloadgitlab-ce-ccaf0798612e39e6400ce6c434bf0ff122bed7b4.tar.gz
Restore support for short-cut to Projects page
Diffstat (limited to 'app')
-rw-r--r--app/views/layouts/nav/_new_dashboard.html.haml7
1 files changed, 6 insertions, 1 deletions
diff --git a/app/views/layouts/nav/_new_dashboard.html.haml b/app/views/layouts/nav/_new_dashboard.html.haml
index 54028b7c36f..88d164cac32 100644
--- a/app/views/layouts/nav/_new_dashboard.html.haml
+++ b/app/views/layouts/nav/_new_dashboard.html.haml
@@ -1,6 +1,6 @@
%ul.list-unstyled.navbar-sub-nav
= nav_link(path: ['root#index', 'projects#trending', 'projects#starred', 'dashboard/projects#index'], html_options: { id: 'nav-projects-dropdown', class: "home dropdown" }) do
- %a.dashboard-shortcuts-projects{ href: '#', title: 'Projects', data: { toggle: 'dropdown' } }
+ %a{ href: '#', title: 'Projects', data: { toggle: 'dropdown' } }
Projects
= icon("chevron-down", class: "dropdown-chevron")
.dropdown-menu.projects-dropdown-menu
@@ -34,3 +34,8 @@
%li.divider
%li
= link_to "Help", help_path, title: 'About GitLab CE'
+
+ -# Shortcut to Dashboard > Projects
+ %li.hidden
+ = link_to dashboard_projects_path, title: 'Projects', class: 'dashboard-shortcuts-projects' do
+ Projects