Static pages: Improve authorization token styling

Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
This commit is contained in:
marcin mikołajczak 2023-09-27 13:44:58 +02:00
parent 374b099825
commit 01168f9dd8
3 changed files with 2 additions and 2 deletions

View file

@ -1,2 +1,2 @@
<h1><%= Gettext.dpgettext("static_pages", "oauth authorized page title", "Successfully authorized") %></h1>
<h2><%= raw Gettext.dpgettext("static_pages", "oauth token code message", "Token code is <br>%{token}", token: safe_to_string(html_escape(@auth.token))) %></h2>
<h2><%= raw Gettext.dpgettext("static_pages", "oauth token code message", "Token code is <br><pre>%{token}</pre>", token: safe_to_string(html_escape(@auth.token))) %></h2>

View file

@ -1,2 +1,2 @@
<h1><%= Gettext.dpgettext("static_pages", "oauth authorization exists page title", "Authorization exists") %></h1>
<h2><%= raw Gettext.dpgettext("static_pages", "oauth token code message", "Token code is <br>%{token}", token: safe_to_string(html_escape(@token.token))) %></h2>
<h2><%= raw Gettext.dpgettext("static_pages", "oauth token code message", "Token code is <br><pre>%{token}</pre>", token: safe_to_string(html_escape(@token.token))) %></h2>

Binary file not shown.