summaryrefslogtreecommitdiff
path: root/app/views/layouts/nav
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2019-09-30 12:06:01 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2019-09-30 12:06:01 +0000
commitdea6ebd31af8e97e8b14160181bd4ea7578c94e8 (patch)
tree5e429fda4d43aa3450f7d6b015668c3474cd9e6c /app/views/layouts/nav
parent94611567bd03083e0ecef7a582a174aa34844482 (diff)
downloadgitlab-ce-dea6ebd31af8e97e8b14160181bd4ea7578c94e8.tar.gz
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/views/layouts/nav')
-rw-r--r--app/views/layouts/nav/_dashboard.html.haml4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/layouts/nav/_dashboard.html.haml b/app/views/layouts/nav/_dashboard.html.haml
index b20792a4417..0d2a96d1917 100644
--- a/app/views/layouts/nav/_dashboard.html.haml
+++ b/app/views/layouts/nav/_dashboard.html.haml
@@ -21,7 +21,7 @@
- if any_dashboard_nav_link?([:groups, :milestones, :activity, :snippets])
%li.header-more.dropdown
- %a{ href: "#", data: { toggle: "dropdown" } }
+ %a{ href: "#", data: { toggle: "dropdown", qa_selector: 'more_dropdown' } }
= _('More')
= sprite_icon('angle-down', css_class: 'caret-down')
.dropdown-menu
@@ -42,7 +42,7 @@
- if dashboard_nav_link?(:snippets)
= nav_link(controller: 'dashboard/snippets') do
- = link_to dashboard_snippets_path, class: 'dashboard-shortcuts-snippets qa-snippets-link' do
+ = link_to dashboard_snippets_path, class: 'dashboard-shortcuts-snippets', data: { qa_selector: 'snippets_link' } do
= _('Snippets')
= render_if_exists 'layouts/nav/sidebar/analytics_more_link'