summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Greiling <mike@pixelcog.com>2017-08-08 09:26:55 -0500
committerMike Greiling <mike@pixelcog.com>2017-08-08 09:26:55 -0500
commit0b9e9ffc5ac34f014fe2fe82c2a759cc83c7dd21 (patch)
tree54dc6230895c96b1a7c19f75b81e764ee3c7b585
parentb0127c3f6a39ae48e54fafcac2caf799dae90ab5 (diff)
downloadgitlab-ce-remove-repo-editor-feature-flag.tar.gz
Revert "Add user_dropdown_link to prompt users to turn on new repo"remove-repo-editor-feature-flag
This reverts commit 79f94c8d221f9391f48899808b7a36e3905dab83.
-rw-r--r--app/views/layouts/header/_default.html.haml1
-rw-r--r--app/views/layouts/header/_new.html.haml1
-rw-r--r--app/views/shared/repo/_user_dropdown_link.html.haml1
3 files changed, 0 insertions, 3 deletions
diff --git a/app/views/layouts/header/_default.html.haml b/app/views/layouts/header/_default.html.haml
index c7aa97a351f..b32cfe158bb 100644
--- a/app/views/layouts/header/_default.html.haml
+++ b/app/views/layouts/header/_default.html.haml
@@ -76,7 +76,6 @@
= link_to "Settings", profile_path
%li
= link_to "Turn on new navigation", profile_preferences_path(anchor: "new-navigation")
- = render 'shared/repo/user_dropdown_link'
%li.divider
%li
= link_to "Sign out", destroy_user_session_path, method: :delete, class: "sign-out-link"
diff --git a/app/views/layouts/header/_new.html.haml b/app/views/layouts/header/_new.html.haml
index 0734cdfc05e..2c1c23d6ea9 100644
--- a/app/views/layouts/header/_new.html.haml
+++ b/app/views/layouts/header/_new.html.haml
@@ -70,7 +70,6 @@
= link_to "Settings", profile_path
%li
= link_to "Turn off new navigation", profile_preferences_path(anchor: "new-navigation")
- = render 'shared/repo/user_dropdown_link'
%li.divider
%li
= link_to "Sign out", destroy_user_session_path, method: :delete, class: "sign-out-link"
diff --git a/app/views/shared/repo/_user_dropdown_link.html.haml b/app/views/shared/repo/_user_dropdown_link.html.haml
deleted file mode 100644
index bddd83a123d..00000000000
--- a/app/views/shared/repo/_user_dropdown_link.html.haml
+++ /dev/null
@@ -1 +0,0 @@
-%li= link_to "Turn #{show_new_repo? ? 'off' : 'on'} new repository", profile_preferences_path(anchor: "new-repository")