X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/3d7eb387a7c3573f1a1d17df00adcaa1fb9b9fa5..2ca1576e9a1bc5863be14d98bd9f5bf99b280d0d:/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 aa2a52f66..63239a386 100644 --- a/app/views/oauth/authorize_success.html.erb +++ b/app/views/oauth/authorize_success.html.erb @@ -1,7 +1,9 @@ <% content_for :heading do %> -

You have allowed this request

+

<%= t ".title" %>

<% end %> +

<%= t(".allowed_html", :app_name => link_to(@token.client_application.name, @token.client_application.url)) %>

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

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

+

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

<% end %>