Commit 211cd7b8 authored by Jiaan Louw's avatar Jiaan Louw

Replace fa-user-secret with GitLab SVG incognito icon

parent 90b81bf9
...@@ -235,9 +235,8 @@ ...@@ -235,9 +235,8 @@
border-top-left-radius: 0; border-top-left-radius: 0;
border-bottom-left-radius: 0; border-bottom-left-radius: 0;
i { svg {
color: $orange-500; color: $orange-500;
font-size: 20px;
} }
} }
} }
......
...@@ -87,7 +87,7 @@ ...@@ -87,7 +87,7 @@
- if has_impersonation_link - if has_impersonation_link
%li.nav-item.impersonation.ml-0 %li.nav-item.impersonation.ml-0
= link_to admin_impersonation_path, class: 'nav-link impersonation-btn', method: :delete, title: _('Stop impersonation'), aria: { label: _('Stop impersonation') }, data: { toggle: 'tooltip', placement: 'bottom', container: 'body', qa_selector: 'stop_impersonation_link' } do = link_to admin_impersonation_path, class: 'nav-link impersonation-btn', method: :delete, title: _('Stop impersonation'), aria: { label: _('Stop impersonation') }, data: { toggle: 'tooltip', placement: 'bottom', container: 'body', qa_selector: 'stop_impersonation_link' } do
= icon('user-secret') = sprite_icon('incognito', size: 18)
- if header_link?(:sign_in) - if header_link?(:sign_in)
%li.nav-item %li.nav-item
%div %div
......
...@@ -353,7 +353,7 @@ RSpec.describe "Admin::Users" do ...@@ -353,7 +353,7 @@ RSpec.describe "Admin::Users" do
it 'sees impersonation log out icon' do it 'sees impersonation log out icon' do
subject subject
icon = first('.fa.fa-user-secret') icon = first('[data-testid="incognito-icon"]')
expect(icon).not_to be nil expect(icon).not_to be nil
end end
......
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