]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/oauth_clients/index.html.erb
Lazy translation lookup and key renames for fixthemap page.
[rails.git] / app / views / oauth_clients / index.html.erb
index d698728f5e7c12c3ff0f352093f545cb30dfc752..f88d9316cd7e77cf88de2a34121f28a8d3184dd9 100644 (file)
@@ -1,4 +1,7 @@
-<h1><%= t'oauth_clients.index.title' %></h1>
+<% content_for :heading do %>
+  <h1><%= t'oauth_clients.index.title' %></h1>
+<% end %>
+
 <% unless @tokens.empty? %>
 <h3><%= t'oauth_clients.index.my_tokens' %></h3>
 <p><%= t'oauth_clients.index.list_tokens' %></p>
        <% end %>
       </td>
     <% end %>
-  <% end %>    
+  <% end %>
 </table>
 <% end %>
 <h3><%= t'oauth_clients.index.my_apps' %></h3>
 <% if @client_applications.empty? %>
-<p><%= raw(t('oauth_clients.index.no_apps', :oauth => "<a href=\"http://oauth.net\">OAuth</a>")) %></p>
+<p><%= raw(t('oauth_clients.index.no_apps', :oauth => "<a href=\"https://oauth.net\">OAuth</a>")) %></p>
 <% else %>
 <p><%= t'oauth_clients.index.registered_apps' %></p>
 <% @client_applications.each do |client|%>