X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/7c26d84a84b6bf0a51173117ecd0dd57d71ee329..b072c2935f8f79e16b2b63cc5e01fc34326f7daa:/app/views/oauth2_applications/show.html.erb?ds=inline diff --git a/app/views/oauth2_applications/show.html.erb b/app/views/oauth2_applications/show.html.erb index e8ab7836d..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 @@ @@ -46,4 +48,4 @@
<%= 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") } } %> - +
    <% @application.scopes.each do |scope| -%> -
  • <%= t "oauth.scopes.#{scope}" %> (<%= scope %>)
  • +
  • <%= t "oauth.scopes.#{scope}" %> (<%= scope %>)
  • <% end -%>