]> git.openstreetmap.org Git - rails.git/blob - app/views/oauth_clients/show.html.erb
Merge 16817:16819 from trunk.
[rails.git] / app / views / oauth_clients / show.html.erb
1 <h1><%= t('oauth.client_application.show.title', :app_name => @client_application.name) %></h1>
2 <p>
3         <b><%= t'oauth.client_application.show.key' %></b> <%=@client_application.key %>
4 </p>
5 <p>
6         <b><%= t'oauth.client_application.show.secret' %></b> <%=@client_application.secret %>
7 </p>
8 <p>
9         <b><%= t'oauth.client_application.show.url' %></b> http<%='s' if request.ssl? %>://<%= request.host_with_port %><%=@client_application.oauth_server.request_token_path %>
10 </p>
11 <p>
12         <b><%= t'oauth.client_application.show.access_url' %></b> http<%='s' if request.ssl? %>://<%= request.host_with_port %><%=@client_application.oauth_server.access_token_path %>
13 </p>
14 <p>
15         <b><%= t'oauth.client_application.show.authorize_url' %></b> http<%='s' if request.ssl? %>://<%= request.host_with_port %><%=@client_application.oauth_server.authorize_path %>
16 </p>
17
18 <p><%= t'oauth.client_application.show.requests' %></p>
19 <ul><% @client_application.permissions.each do |perm| %>
20 <div class="field">
21   <li><%= t('oauth.client_application.form.' + perm.to_s) %></li>
22 </div>
23 <% end %></ul>
24
25 <p><%= t'oauth.client_application.show.support_notice' %></p>
26
27 <p><%= link_to t('oauth.client_application.show.edit'), edit_oauth_client_url(@client_application) %></p>
28