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