CE for "Remove new contributing link from EE"

This commit is contained in:
Luke Bennett 2018-07-06 07:58:49 +00:00 committed by Phil Hughes
parent 19e85cc810
commit d06b366486
2 changed files with 6 additions and 5 deletions

View file

@ -17,11 +17,7 @@
= link_to _("Help"), help_path
- if current_user_menu?(:help) || current_user_menu?(:settings) || current_user_menu?(:profile)
%li.divider
%li
= link_to "https://about.gitlab.com/contributing", target: '_blank', class: 'text-nowrap' do
= _("Contribute to GitLab")
= sprite_icon('external-link', size: 16)
%li.divider
= render 'shared/user_dropdown_contributing_link'
- if current_user_menu?(:sign_out)
%li
= link_to _("Sign out"), destroy_user_session_path, class: "sign-out-link"

View file

@ -0,0 +1,5 @@
%li
= link_to "https://about.gitlab.com/contributing", target: '_blank', class: 'text-nowrap' do
= _("Contribute to GitLab")
= sprite_icon('external-link', size: 16)
%li.divider