From 01168f9dd865c7fad0b2b77b103b083c54c9eee4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?marcin=20miko=C5=82ajczak?= Date: Wed, 27 Sep 2023 13:44:58 +0200 Subject: [PATCH] Static pages: Improve authorization token styling MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: marcin mikołajczak --- .../o_auth/oob_authorization_created.html.eex | 2 +- .../o_auth/o_auth/oob_token_exists.html.eex | 2 +- priv/static/instance/static.css | Bin 6434 -> 6741 bytes 3 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/pleroma/web/templates/o_auth/o_auth/oob_authorization_created.html.eex b/lib/pleroma/web/templates/o_auth/o_auth/oob_authorization_created.html.eex index 76ed3fda5e..992af8dd7d 100644 --- a/lib/pleroma/web/templates/o_auth/o_auth/oob_authorization_created.html.eex +++ b/lib/pleroma/web/templates/o_auth/o_auth/oob_authorization_created.html.eex @@ -1,2 +1,2 @@

<%= Gettext.dpgettext("static_pages", "oauth authorized page title", "Successfully authorized") %>

-

<%= raw Gettext.dpgettext("static_pages", "oauth token code message", "Token code is
%{token}", token: safe_to_string(html_escape(@auth.token))) %>

+

<%= raw Gettext.dpgettext("static_pages", "oauth token code message", "Token code is
%{token}
", token: safe_to_string(html_escape(@auth.token))) %>

diff --git a/lib/pleroma/web/templates/o_auth/o_auth/oob_token_exists.html.eex b/lib/pleroma/web/templates/o_auth/o_auth/oob_token_exists.html.eex index 754bf2eb09..ab41235a4e 100644 --- a/lib/pleroma/web/templates/o_auth/o_auth/oob_token_exists.html.eex +++ b/lib/pleroma/web/templates/o_auth/o_auth/oob_token_exists.html.eex @@ -1,2 +1,2 @@

<%= Gettext.dpgettext("static_pages", "oauth authorization exists page title", "Authorization exists") %>

-

<%= raw Gettext.dpgettext("static_pages", "oauth token code message", "Token code is
%{token}", token: safe_to_string(html_escape(@token.token))) %>

+

<%= raw Gettext.dpgettext("static_pages", "oauth token code message", "Token code is
%{token}
", token: safe_to_string(html_escape(@token.token))) %>

diff --git a/priv/static/instance/static.css b/priv/static/instance/static.css index db06bdf5514b14f958bb5fa672da62b1773c2a4e..a162e0f2ade762299be8bc2e7fbb39a0e98c482e 100644 GIT binary patch delta 256 zcmZ2vbk$^nJEOuz_jXp@3?qetqEv-yE(L|$#G>@fJSznQYapi}F(oB4FCEC!Gc8KZ z1ybgwMUxqMMP&^1jDgJ5T#%~#vecrqocwa#3M+-g(vtki2l&N3(+ty0(#$~8Y5932 zy2Y7Qsa6VxP#s{Qw8Y%ZoJuQ&p!}r#l6(c<{JeY}h0;vjTp**kATc>rM*+l~ypc^r z2db|;zbHjFsVFru+e!gU=_cmnfb2*vEh^40vQj8Xtti=ik~Kn@4=9M_tH}$PMR^Sj Njm%99LCR~nY606=PPza9 delta 17 Ycmca=vdCzH`$ms;*3FmLf`u7t0YjMvsQ>@~