X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/a1cb0f04d476101116087286ff072d3a137355cb..84bdc5d048537729058b0549ab5a15e74a372bb8:/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..9c817372f 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 %> + +

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

<% end %>