Commit f7f5e40c authored by Andrew Fontaine's avatar Andrew Fontaine

Merge branch 'btn-default-cicd_for_external_repov' into 'master'

Apply new GitLab UI buttons in connect repo page

See merge request gitlab-org/gitlab!53455
parents b4d87395 ad659fbf
---
title: Apply new GitLab UI for buttons in connect repo buttons in new project page
merge_request: 53455
author:
type: other
......@@ -19,13 +19,13 @@
.import-buttons
%div
- if github_import_enabled?
= link_to new_import_github_path(ci_cd_only: true), class: 'btn js-import-github', data: { track_label: "#{track_label}", track_property: 'github', track_event: "click_button", track_value: "" } do
= sprite_icon('github')
= link_to new_import_github_path(ci_cd_only: true), class: 'btn gl-button btn-default js-import-github', data: { track_label: "#{track_label}", track_property: 'github', track_event: "click_button", track_value: "" } do
= sprite_icon('github', css_class: 'gl-button-icon')
GitHub
%div
- if git_import_enabled?
%button.btn.btn-svg.js-toggle-button.js-import-git-toggle-button{ type: "button", data: { toggle_open_class: 'active', track_label: "#{track_label}", track_property: 'repo_url', track_event: "click_button", track_value: "" } }
= sprite_icon('link', css_class: 'gl-icon')
%button.btn.gl-button.btn-default.btn-svg.js-toggle-button.js-import-git-toggle-button{ type: "button", data: { toggle_open_class: 'active', track_label: "#{track_label}", track_property: 'repo_url', track_event: "click_button", track_value: "" } }
= sprite_icon('link', css_class: 'gl-button-icon')
= _('Repo by URL')
.col-lg-12
.js-toggle-content.toggle-import-form{ class: ('hide' if active_tab != 'ci_cd_only') }
......
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