summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorTim Zallmann <tzallmann@gitlab.com>2017-06-07 17:29:39 +0200
committerTim Zallmann <tzallmann@gitlab.com>2017-06-07 17:29:39 +0200
commitbeb41aac383dbe525403b418841c55fbb13d7440 (patch)
tree8dd3d99edc715dc3a5a75908b563b9ca0fcb456d /app
parent4871cb7aeed1939fb54563633ffee60e4c1eb46b (diff)
downloadgitlab-ce-beb41aac383dbe525403b418841c55fbb13d7440.tar.gz
Added additional classes for easier identifaction during tests
Greenfield Tests for Dropdown Menu finished
Diffstat (limited to 'app')
-rw-r--r--app/views/layouts/header/_new_dropdown.haml4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/layouts/header/_new_dropdown.haml b/app/views/layouts/header/_new_dropdown.haml
index ecc5a518687..c7302414386 100644
--- a/app/views/layouts/header/_new_dropdown.haml
+++ b/app/views/layouts/header/_new_dropdown.haml
@@ -10,7 +10,7 @@
- if create_group_project || create_group_subgroup
%li.dropdown-bold-header This group
- if create_group_project
- %li
+ %li.header-new-group-project
= link_to 'New project', new_project_path(namespace_id: @group.id)
- if create_group_subgroup
%li
@@ -31,7 +31,7 @@
%li
= link_to 'New merge request', new_namespace_project_merge_request_path(merge_project.namespace, merge_project)
- if create_project_snippet
- %li
+ %li.header-new-project-snippet
= link_to 'New snippet', new_namespace_project_snippet_path(@project.namespace, @project)
%li.divider
%li.dropdown-bold-header GitLab