From 86b1e934b6a495dae35de142ec708c8ba27facf4 Mon Sep 17 00:00:00 2001 From: Anton Khorev Date: Wed, 10 Jul 2024 13:15:20 +0300 Subject: [PATCH] Move OpenID logo out of locale string --- app/views/application/_auth_providers.html.erb | 5 ++++- config/locales/en.yml | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/app/views/application/_auth_providers.html.erb b/app/views/application/_auth_providers.html.erb index d2ff6865f..14e296a07 100644 --- a/app/views/application/_auth_providers.html.erb +++ b/app/views/application/_auth_providers.html.erb @@ -46,7 +46,10 @@ <%# :tabindex starts high to allow rendering at the bottom of the template %> <%= form_tag(auth_path(:provider => "openid"), :id => "openid_login_form") do %>
- + <%= hidden_field_tag("referer", params[:referer], :autocomplete => "off") %> <%= text_field_tag("openid_url", "", :tabindex => 20, :autocomplete => "on", :class => "form-control") %> (" target="_new"><%= t "accounts.edit.openid.link text" %>) diff --git a/config/locales/en.yml b/config/locales/en.yml index 846bab813..2eaee052e 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -2584,7 +2584,7 @@ en: muted_users: Muted Users auth_providers: openid_logo_alt: "Log in with an OpenID" - openid_html: "%{logo} OpenID URL" + openid_url: "OpenID URL" openid_login_button: "Continue" openid: title: Log in with OpenID -- 2.39.5