]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/oauth2_applications/_application.html.erb
Merge pull request #5362 from AntonKhorev/color-mode-preference-map
[rails.git] / app / views / oauth2_applications / _application.html.erb
index eb7f7ee0e102cc8ee826cc57c2b408f3d52bccc1..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}" %></li>
+        <li><%= authorization_scope(scope) %> <code class="text-body-secondary">(<%= scope %>)</code></li>
       <% end -%>
     </ul>
   </td>