]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/oauth2_applications/show.html.erb
Split the non-public information off of the profile page
[rails.git] / app / views / oauth2_applications / show.html.erb
index e6fe3d3e8d4dd8e1da80ce97d1c77df9cb7f18fd..e8ab7836dbca5a1b282e868635458ac58158867a 100644 (file)
@@ -26,7 +26,7 @@
     <td>
       <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>
@@ -42,3 +42,8 @@
     </td>
   </tr>
 </table>
+
+<div>
+  <%= link_to t(".edit"), edit_oauth_application_path(@application), :class => "btn btn-outline-primary" %>
+  <%= link_to t(".delete"), oauth_application_path(@application), { :method => :delete, :class => "btn btn-outline-danger", :data => { :confirm => t(".confirm_delete") } } %>
+</td>