X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/7b384f03ab1d34fd3ebcc5ae3add25b3b5591e2e..8445561fccd13404568910fdde56ddf4d7b19a18:/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..9c817372f 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 ".title" %>

+<% end %> + +

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

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

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

+<% end %>