Skip to content
代码片段 群组 项目
提交 a303f1c0 编辑于 作者: Marin Hannache's avatar Marin Hannache 提交者: Savas Vedova
浏览文件

Fix Kerberos widget alignement in the clone panel


Changelog: fixed

Signed-off-by: default avatarMarin Hannache <git@mareo.fr>
上级 ef798c21
No related branches found
No related tags found
无相关合并请求
......@@ -25,7 +25,8 @@
.input-group-append
= clipboard_button(target: '#http_project_clone', title: _("Copy URL"), class: "input-group-text gl-button btn btn-icon btn-default")
= render_if_exists 'projects/buttons/geo'
%li.divider.mt-2
= render_if_exists 'projects/buttons/kerberos_clone_field'
%li.divider.mt-2
%li.pt-2.gl-new-dropdown-item
%label.label-bold{ class: 'gl-px-4!' }
= _('Open in your IDE')
......@@ -51,4 +52,3 @@
%a.dropdown-item.open-with-link{ href: xcode_uri_to_repo(@project) }
.gl-new-dropdown-item-text-wrapper
= _("Xcode")
= render_if_exists 'projects/buttons/kerberos_clone_field'
- project = project || @project
- if alternative_kerberos_url?
%li.pt-2
%li.pt-2{ class: 'gl-px-4!' }
%label.label-bold
= _('Clone with KRB5')
.input-group
= text_field_tag :kerberos_project_clone, project.kerberos_url_to_repo, class: "js-select-on-focus form-control qa-krb5-clone-url", readonly: true, aria: { label: _('Repository clone URL') }
.input-group-append
= clipboard_button(target: '#kerberos_project_clone', title: _("Copy URL"), class: "input-group-text btn-default btn-clipboard")
= clipboard_button(target: '#kerberos_project_clone', title: _("Copy URL"), class: "input-group-text gl-button btn btn-icon btn-default")
= render_if_exists 'projects/buttons/geo'
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册