]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/oauth2_applications/_application.html.erb
Stretch changeset links in history lists
[rails.git] / app / views / oauth2_applications / _application.html.erb
index eb7f7ee0e102cc8ee826cc57c2b408f3d52bccc1..564fa81ebf33ad83ce07f55b2d8af173de932466 100644 (file)
@@ -1,7 +1,7 @@
 <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>
       <% end -%>
@@ -10,7 +10,7 @@
   <td class="align-middle">
     <ul class="list-unstyled mb-0">
       <% application.scopes.each do |scope| -%>
-        <li><%= t "oauth.scopes.#{scope}" %></li>
+        <li><%= t "oauth.scopes.#{scope}" %> <code class="text-muted">(<%= scope %>)</code></li>
       <% end -%>
     </ul>
   </td>