]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/oauth2_authorized_applications/_application.html.erb
Localisation updates from https://translatewiki.net.
[rails.git] / app / views / oauth2_authorized_applications / _application.html.erb
index f27a6f82e2c5657d75a4c19ee0a08dc5c8810e3b..8abbb26ed8bb46e83e7830d7d2c97f3f979a96b8 100644 (file)
@@ -1,10 +1,10 @@
 <tr>
   <td class="align-middle">
 <tr>
   <td class="align-middle">
-    <%= link_to application.name, oauth_application_path(application) %>
+    <%= application.name %>
   </td>
   <td class="align-middle">
     <ul class="list-unstyled mb-0">
   </td>
   <td class="align-middle">
     <ul class="list-unstyled mb-0">
-      <% application.scopes.each do |scope| -%>
+      <% application.authorized_scopes_for(current_user).each do |scope| -%>
         <li><%= t "oauth.scopes.#{scope}" %></li>
       <% end -%>
     </ul>
         <li><%= t "oauth.scopes.#{scope}" %></li>
       <% end -%>
     </ul>