X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/f70feedc6517b824c4201584d6298fd5790d85ba..94062a17b3e2ee1984b7bc2b744945d5aa7bf2e9:/app/views/oauth/authorize_success.html.erb diff --git a/app/views/oauth/authorize_success.html.erb b/app/views/oauth/authorize_success.html.erb index a25b98ec7..c8f56af33 100644 --- a/app/views/oauth/authorize_success.html.erb +++ b/app/views/oauth/authorize_success.html.erb @@ -1,5 +1,9 @@ -

You have allowed this request

+<% content_for :heading do %> +

<%= t "oauth.oauthorize_success.title" %>

+<% end %> + +

<%= raw t("oauth.oauthorize_success.allowed", :app_name => link_to(@token.client_application.name, @token.client_application.url)) %>

-<% if @token.oob? %> -

The verification code is <%= @token.verifier %>

+<% if @token.oob? and not @token.oauth10? %> +

<%= t "oauth.oauthorize_success.verification", :code => @token.verifier %>

<% end %>