Commit 3f85f3e8 authored by Stan Hu's avatar Stan Hu

Fix clone dropdown parent inheritance issues in HAML

The change in https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/24015
caused some parent relationships to be incorrect. This caused a failure
in the EE failure the Geo button was added because the modal stopped
showing.
parent 51e35966
...@@ -15,8 +15,8 @@ ...@@ -15,8 +15,8 @@
.input-group-append .input-group-append
= clipboard_button(target: '#ssh_project_clone', title: _("Copy URL to clipboard"), class: "input-group-text btn-default btn-clipboard") = clipboard_button(target: '#ssh_project_clone', title: _("Copy URL to clipboard"), class: "input-group-text btn-default btn-clipboard")
= render_if_exists 'projects/buttons/geo' = render_if_exists 'projects/buttons/geo'
%li
- if http_enabled? - if http_enabled?
%li
%label.label-bold %label.label-bold
= _('Clone with %{http_label}') % { http_label: gitlab_config.protocol.upcase } = _('Clone with %{http_label}') % { http_label: gitlab_config.protocol.upcase }
.input-group .input-group
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment