Commit 1836a5c8 authored by Natalia Tepluhina's avatar Natalia Tepluhina

Merge branch '225903-replace-fa-git-icons-with-gitlab-svg-link-icon' into 'master'

Replace fa-git icons with GitLab SVG 'link' icon

Closes #225903

See merge request gitlab-org/gitlab!38078
parents 489fbffb 044a0247
...@@ -56,8 +56,9 @@ ...@@ -56,8 +56,9 @@
- if git_import_enabled? - if git_import_enabled?
%div %div
%button.btn.js-toggle-button.js-import-git-toggle-button{ type: "button", data: { toggle_open_class: 'active' }, **tracking_attrs(track_label, 'click_button', 'repo_url') } %button.btn.btn-svg.js-toggle-button.js-import-git-toggle-button{ type: "button", data: { toggle_open_class: 'active' }, **tracking_attrs(track_label, 'click_button', 'repo_url') }
= icon('git', text: 'Repo by URL') = sprite_icon('link', size: 16, css_class: 'gl-icon')
= _('Repo by URL')
- if manifest_import_enabled? - if manifest_import_enabled?
%div %div
......
---
title: Replace fa-git icons with link svg
merge_request: 38078
author:
type: changed
...@@ -23,8 +23,9 @@ ...@@ -23,8 +23,9 @@
= icon('github', text: 'GitHub') = icon('github', text: 'GitHub')
%div %div
- if git_import_enabled? - if git_import_enabled?
%button.btn.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: "" } } %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: "" } }
= icon('git', text: _('Repo by URL')) = sprite_icon('link', size: 16, css_class: 'gl-icon')
= _('Repo by URL')
.col-lg-12 .col-lg-12
.js-toggle-content.toggle-import-form{ class: ('hide' if active_tab != 'ci_cd_only') } .js-toggle-content.toggle-import-form{ class: ('hide' if active_tab != 'ci_cd_only') }
%hr %hr
......
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