openstreetmap-website/app/views/oauth/authorize_success.html.erb
Tom Hughes a9f4549327 Tidy up the OAuth authorization screens
Make sure all messages are translatable, separate errors from
user initiated denial of authorization.
2013-11-30 12:25:22 +00:00

9 lines
373 B
Text

<% 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><%= t "oauth.oauthorize_success.verification", :code => @token.verifier %></p>
<% end %>