X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/b25a468e3c0aeb868f46ea758d4cf33ad7890bcb..47e6637f180c9ffa3950ee9307f9667ffcfc2ee3:/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 91c71f90b..80dbc6079 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? %> -

<%= 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|%> @@ -30,4 +33,4 @@ <% end %> <% end %> <% end %> -

<%= link_to t('oauth_clients.index.register_new'), :action => :new %>

+

<%= link_to t('oauth_clients.index.register_new'), :action => :new %>

\ No newline at end of file