From 28c665b012106317d2c6f4805dd9cbaf8b4f7f55 Mon Sep 17 00:00:00 2001 From: Wouter Admiraal Date: Thu, 24 Feb 2022 16:11:20 +0100 Subject: SONAR-12807 Put all ALM icons in a single location --- server/sonar-web/public/images/alm/github-white.svg | 4 ++++ server/sonar-web/public/images/github.svg | 4 ---- server/sonar-web/public/images/gitlab-icon-rgb.svg | 1 - .../js/apps/account/profile/__tests__/UserExternalIdentity-test.tsx | 2 +- .../__tests__/__snapshots__/UserExternalIdentity-test.tsx.snap | 2 +- 5 files changed, 6 insertions(+), 7 deletions(-) create mode 100644 server/sonar-web/public/images/alm/github-white.svg delete mode 100644 server/sonar-web/public/images/github.svg delete mode 100644 server/sonar-web/public/images/gitlab-icon-rgb.svg (limited to 'server/sonar-web') diff --git a/server/sonar-web/public/images/alm/github-white.svg b/server/sonar-web/public/images/alm/github-white.svg new file mode 100644 index 00000000000..89a559abe96 --- /dev/null +++ b/server/sonar-web/public/images/alm/github-white.svg @@ -0,0 +1,4 @@ + + + diff --git a/server/sonar-web/public/images/github.svg b/server/sonar-web/public/images/github.svg deleted file mode 100644 index 89a559abe96..00000000000 --- a/server/sonar-web/public/images/github.svg +++ /dev/null @@ -1,4 +0,0 @@ - - - diff --git a/server/sonar-web/public/images/gitlab-icon-rgb.svg b/server/sonar-web/public/images/gitlab-icon-rgb.svg deleted file mode 100644 index e54552cd5fa..00000000000 --- a/server/sonar-web/public/images/gitlab-icon-rgb.svg +++ /dev/null @@ -1 +0,0 @@ -gitlab-icon-rgbLayer 1 \ No newline at end of file diff --git a/server/sonar-web/src/main/js/apps/account/profile/__tests__/UserExternalIdentity-test.tsx b/server/sonar-web/src/main/js/apps/account/profile/__tests__/UserExternalIdentity-test.tsx index e319b1a0d45..fc5a5bfc2d8 100644 --- a/server/sonar-web/src/main/js/apps/account/profile/__tests__/UserExternalIdentity-test.tsx +++ b/server/sonar-web/src/main/js/apps/account/profile/__tests__/UserExternalIdentity-test.tsx @@ -28,7 +28,7 @@ jest.mock('../../../../api/users', () => ({ identityProviders: [ { backgroundColor: '#444444', - iconPath: '/images/github.svg', + iconPath: '/images/alm/github-white.svg', key: 'github', name: 'GitHub' } diff --git a/server/sonar-web/src/main/js/apps/account/profile/__tests__/__snapshots__/UserExternalIdentity-test.tsx.snap b/server/sonar-web/src/main/js/apps/account/profile/__tests__/__snapshots__/UserExternalIdentity-test.tsx.snap index 9ded81f8129..1163dcfa5ff 100644 --- a/server/sonar-web/src/main/js/apps/account/profile/__tests__/__snapshots__/UserExternalIdentity-test.tsx.snap +++ b/server/sonar-web/src/main/js/apps/account/profile/__tests__/__snapshots__/UserExternalIdentity-test.tsx.snap @@ -21,7 +21,7 @@ exports[`should render correctly 1`] = ` alt="GitHub" className="little-spacer-right" height="14" - src="/images/github.svg" + src="/images/alm/github-white.svg" width="14" /> -- cgit v1.2.3