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 @@
- if git_import_enabled?
%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') }
= icon('git', text: 'Repo by 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') }
= sprite_icon('link', size: 16, css_class: 'gl-icon')
= _('Repo by URL')
- if manifest_import_enabled?
%div
......
---
title: Replace fa-git icons with link svg
merge_request: 38078
author:
type: changed
......@@ -23,8 +23,9 @@
= icon('github', text: 'GitHub')
%div
- 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: "" } }
= icon('git', text: _('Repo by URL'))
%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', size: 16, css_class: 'gl-icon')
= _('Repo by URL')
.col-lg-12
.js-toggle-content.toggle-import-form{ class: ('hide' if active_tab != 'ci_cd_only') }
%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