X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/e222329d043592af299eed12cf6ad16969c1b46f..1c7ead6008397ce815de4102d023a708be636a3c:/app/views/oauth2_applications/show.html.erb diff --git a/app/views/oauth2_applications/show.html.erb b/app/views/oauth2_applications/show.html.erb index e6fe3d3e8..2c4557c1e 100644 --- a/app/views/oauth2_applications/show.html.erb +++ b/app/views/oauth2_applications/show.html.erb @@ -2,6 +2,8 @@

<%= @application.name %>

<% end %> +<%= render :partial => "settings_menu" %> + <% secret = flash[:application_secret].presence || @application.plaintext_secret %> @@ -26,7 +28,7 @@ @@ -42,3 +44,8 @@
    <% @application.scopes.each do |scope| -%> -
  • <%= t "oauth.scopes.#{scope}" %>
  • +
  • <%= t "oauth.scopes.#{scope}" %> (<%= scope %>)
  • <% end -%>
+ +
+ <%= 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") } } %> +