summaryrefslogtreecommitdiff
path: root/app/views
diff options
context:
space:
mode:
authorFilipa Lacerda <filipa@gitlab.com>2018-01-12 18:19:28 +0000
committerFilipa Lacerda <filipa@gitlab.com>2018-01-12 18:19:28 +0000
commit214cf9c2c5031b0682d6cad437b2137a9bf56a38 (patch)
treed4d2bf08b6a6618c5592f7c8b16438381e5bea6d /app/views
parentb35b57a179b8d9e1f5e0d9201178f0ba3b56f921 (diff)
parentb63686ce6ae96a6fca915d82b918f38b23c4a399 (diff)
downloadgitlab-ce-214cf9c2c5031b0682d6cad437b2137a9bf56a38.tar.gz
Merge branch 'ce-backport-generalize-protected-branch-tags-to-create-item-dropdown' into 'master'
Generalize protected branch/tag dropdowns -- CE backport See merge request gitlab-org/gitlab-ce!16420
Diffstat (limited to 'app/views')
-rw-r--r--app/views/projects/protected_branches/shared/_dropdown.html.haml2
-rw-r--r--app/views/projects/protected_tags/shared/_dropdown.html.haml2
2 files changed, 2 insertions, 2 deletions
diff --git a/app/views/projects/protected_branches/shared/_dropdown.html.haml b/app/views/projects/protected_branches/shared/_dropdown.html.haml
index 6e9c473494e..74435236808 100644
--- a/app/views/projects/protected_branches/shared/_dropdown.html.haml
+++ b/app/views/projects/protected_branches/shared/_dropdown.html.haml
@@ -10,6 +10,6 @@
%ul.dropdown-footer-list
%li
- %button{ class: "create-new-protected-branch-button js-create-new-protected-branch", title: "New Protected Branch" }
+ %button{ class: "dropdown-create-new-item-button js-dropdown-create-new-item", title: "New Protected Branch" }
Create wildcard
%code
diff --git a/app/views/projects/protected_tags/shared/_dropdown.html.haml b/app/views/projects/protected_tags/shared/_dropdown.html.haml
index 9b6923210f7..f0d7dcccd36 100644
--- a/app/views/projects/protected_tags/shared/_dropdown.html.haml
+++ b/app/views/projects/protected_tags/shared/_dropdown.html.haml
@@ -10,6 +10,6 @@
%ul.dropdown-footer-list
%li
- %button{ class: "create-new-protected-tag-button js-create-new-protected-tag", title: "New Protected Tag" }
+ %button{ class: "dropdown-create-new-item-button js-dropdown-create-new-item", title: "New Protected Tag" }
Create wildcard
%code