X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/e222329d043592af299eed12cf6ad16969c1b46f..60dd5ce6e6e4e3222920fa9d6804c25deae3529c:/app/views/oauth2_authorized_applications/index.html.erb diff --git a/app/views/oauth2_authorized_applications/index.html.erb b/app/views/oauth2_authorized_applications/index.html.erb index dca65e9f9..59d692393 100644 --- a/app/views/oauth2_authorized_applications/index.html.erb +++ b/app/views/oauth2_authorized_applications/index.html.erb @@ -2,13 +2,22 @@

<%= t ".title" %>

<% end %> - - - - - - - - <%= render :partial => "application", :collection => @applications %> - -
<%= t ".application" %><%= t ".permissions" %>
+<%= render :partial => "settings_menu" %> + +<% if @applications.length > 0 %> + + + + + + + + + + + <%= render :partial => "application", :collection => @applications %> + +
<%= t ".application" %><%= t ".permissions" %><%= t ".last_authorized" %>
+<% else %> +

<%= t ".no_applications_html", :oauth2 => link_to(t(".oauth_2"), "https://oauth.net/2/") %>

+<% end %>