X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/59eebc05b2de2c85033237c06d9474d5072b4d1f..d377e8b4f23e6bad925eb2efa904baa7e1531fa6:/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 effe24a79..c8f56af33 100644 --- a/app/views/oauth/authorize_success.html.erb +++ b/app/views/oauth/authorize_success.html.erb @@ -1 +1,9 @@ -

You have allowed this request

\ No newline at end of file +<% 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? and not @token.oauth10? %> +

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

+<% end %>