]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/oauth/authorize_success.html.erb
Add details for Finland to copyright page
[rails.git] / app / views / oauth / authorize_success.html.erb
index 89512db315cd596432a59d1cec23944a7b526014..c8f56af3345a538da083acba1a2db13fca297269 100644 (file)
@@ -1,5 +1,9 @@
-<h1>You have allowed this request</h1>
+<% content_for :heading do %>
+  <h1><%= t "oauth.oauthorize_success.title" %></h1>
+<% end %>
+
+<p><%= raw t("oauth.oauthorize_success.allowed", :app_name => link_to(@token.client_application.name, @token.client_application.url)) %></p>
 
 <% if @token.oob? and not @token.oauth10? %>
-<p>The verification code is <%= @token.verifier %></p>
+<p><%= t "oauth.oauthorize_success.verification", :code => @token.verifier %></p>
 <% end %>