]> git.openstreetmap.org Git - rails.git/blob - app/views/oauth2_authorized_applications/index.html.erb
Merge remote-tracking branch 'upstream/pull/4131'
[rails.git] / app / views / oauth2_authorized_applications / index.html.erb
1 <% content_for :heading do %>
2   <h1><%= t ".title" %></h1>
3 <% end %>
4
5 <%= render :partial => "settings_menu" %>
6
7 <% if @applications.length > 0 %>
8   <table class="table table-borderless table-striped">
9     <thead>
10       <tr>
11         <th><%= t ".application" %></th>
12         <th><%= t ".permissions" %></th>
13         <th></th>
14       </tr>
15     </thead>
16     <tbody>
17       <%= render :partial => "application", :collection => @applications %>
18     </tbody>
19   </table>
20 <% else %>
21   <p><%= t ".no_applications_html", :oauth2 => link_to(t(".oauth_2"), "https://oauth.net/2/") %></p>
22 <% end %>