X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/22594361d5abd2a6ee18e290058d9d39d7d761ec..becccea034bc1ca4609c904095f4f86e17e349b4:/app/views/oauth_clients/index.html.erb diff --git a/app/views/oauth_clients/index.html.erb b/app/views/oauth_clients/index.html.erb index d698728f5..f88d9316c 100644 --- a/app/views/oauth_clients/index.html.erb +++ b/app/views/oauth_clients/index.html.erb @@ -1,4 +1,7 @@ -

<%= t'oauth_clients.index.title' %>

+<% content_for :heading do %> +

<%= t'oauth_clients.index.title' %>

+<% end %> + <% unless @tokens.empty? %>

<%= t'oauth_clients.index.my_tokens' %>

<%= t'oauth_clients.index.list_tokens' %>

@@ -16,12 +19,12 @@ <% end %> <% end %> - <% end %> + <% end %> <% end %>

<%= t'oauth_clients.index.my_apps' %>

<% if @client_applications.empty? %> -

<%= raw(t('oauth_clients.index.no_apps', :oauth => "OAuth")) %>

+

<%= raw(t('oauth_clients.index.no_apps', :oauth => "OAuth")) %>

<% else %>

<%= t'oauth_clients.index.registered_apps' %>

<% @client_applications.each do |client|%>