X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/2150d1021e52e3441bad3bbd1a03ba68f89c7da6..b4d7a83adfb034c6647b54dd200bcc22d1824cee:/app/views/oauth/authorize_success.html.erb?ds=sidebyside diff --git a/app/views/oauth/authorize_success.html.erb b/app/views/oauth/authorize_success.html.erb index a25b98ec7..63239a386 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 ".title" %>

+<% end %> + +

<%= t(".allowed_html", :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 ".verification", :code => @token.verifier %>

<% end %>