]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/oauth2_applications/_application.html.erb
Fix browse elements timeouts
[rails.git] / app / views / oauth2_applications / _application.html.erb
index f08f7be9314a82c66e38e6a4d057e319364d9f8d..796e3e776857c551d06349c413d95333184d06cf 100644 (file)
@@ -1,16 +1,16 @@
 <tr>
   <td class="align-middle">
     <ul class="list-unstyled mb-0">
-      <li><%= application.name %></li>
+      <li><%= link_to application.name, oauth_application_path(application) %></li>
       <% application.redirect_uri.split.each do |uri| -%>
-        <li class="text-muted"><%= uri %></li>
+        <li class="text-body-secondary"><%= uri %></li>
       <% end -%>
     </ul>
   </td>
   <td class="align-middle">
     <ul class="list-unstyled mb-0">
       <% application.scopes.each do |scope| -%>
-        <li><%= t "oauth.scopes.#{scope}" %> <code class="text-muted">(<%= scope %>)</code></li>
+        <li><%= authorization_scope(scope) %> <code class="text-body-secondary">(<%= scope %>)</code></li>
       <% end -%>
     </ul>
   </td>