Commit 68e312b2 authored by Stan Hu's avatar Stan Hu

Merge branch 'sh-fix-clone-geo-dropdown' into 'master'

Fix clone dropdown parent inheritance issues in HAML

See merge request gitlab-org/gitlab-ce!24029
parents 3a7c8918 70d155e8
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
%span.append-right-4.js-clone-dropdown-label %span.append-right-4.js-clone-dropdown-label
= _('Clone') = _('Clone')
= sprite_icon("arrow-down", css_class: "icon") = sprite_icon("arrow-down", css_class: "icon")
%form.p-3.dropdown-menu.dropdown-menu-right.dropdown-menu-large.dropdown-menu-selectable.clone-options-dropdown.qa-clone-options %ul.p-3.dropdown-menu.dropdown-menu-right.dropdown-menu-large.dropdown-menu-selectable.clone-options-dropdown.qa-clone-options
- if ssh_enabled? - if ssh_enabled?
%li.pb-2 %li.pb-2
%label.label-bold %label.label-bold
...@@ -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
......
---
title: Fix clone dropdown parent inheritance issues in HAML
merge_request: 24029
author:
type: fixed
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