From 036c87b35538354a17b6dca9491f4b14ed76b64d Mon Sep 17 00:00:00 2001 From: Hidde Wieringa Date: Tue, 14 May 2024 19:54:52 +0200 Subject: [PATCH 1/1] OpenID connect icons to SVG re-add whitespace trigger CI revert size attribute --- app/assets/images/openid.svg | 5 +++++ app/assets/images/openid_small.png | Bin 314 -> 0 bytes app/helpers/user_helper.rb | 2 +- test/helpers/user_helper_test.rb | 2 +- 4 files changed, 7 insertions(+), 2 deletions(-) create mode 100644 app/assets/images/openid.svg delete mode 100644 app/assets/images/openid_small.png diff --git a/app/assets/images/openid.svg b/app/assets/images/openid.svg new file mode 100644 index 000000000..d4de5897b --- /dev/null +++ b/app/assets/images/openid.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/app/assets/images/openid_small.png b/app/assets/images/openid_small.png deleted file mode 100644 index 41adc9fa6e3f26a959a8a96597611ecb7bccacf6..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 314 zcmV-A0mc4_P)gwvu%*@Eh$i&3Nz`(%1zP`M? zytufy`L0&9w6vFMd^<>lYs-`UyO z*Vos}%ge#R!M(k`{M4npySur$xwW;mHoyMp0001SNkl t("application.auth_providers.openid_logo_alt"), :class => "align-text-bottom" + image_tag "openid.svg", :size => "24", :alt => t("application.auth_providers.openid_logo_alt"), :class => "align-text-bottom" end def auth_button(name, provider, options = {}) diff --git a/test/helpers/user_helper_test.rb b/test/helpers/user_helper_test.rb index c2883c2c0..3cd53e169 100644 --- a/test/helpers/user_helper_test.rb +++ b/test/helpers/user_helper_test.rb @@ -111,7 +111,7 @@ class UserHelperTest < ActionView::TestCase def test_openid_logo logo = openid_logo - assert_match %r{^$}, logo + assert_match %r{^$}, logo end def test_auth_button -- 2.39.5