Commit 044a0247 authored by Martin Wortschack's avatar Martin Wortschack

Replace fa-git icon with link SVG

parent 7989d359
...@@ -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