]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/oauth_clients/index.html.erb
Merge remote-tracking branch 'upstream/pull/2494'
[rails.git] / app / views / oauth_clients / index.html.erb
index 54bb4f9f6f4133d17341adc6f0751f7810fe30ab..0ce09d57c9014a34df87a33f4e9b81d850d9a59f 100644 (file)
@@ -29,7 +29,7 @@
 <% end %>
 <h3><%= t ".my_apps" %></h3>
 <% if @client_applications.empty? %>
-<p><%= raw(t(".no_apps", :oauth => "<a href=\"https://oauth.net\">OAuth</a>")) %></p>
+<p><%= t(".no_apps_html", :oauth => link_to(t(".oauth"), "https://oauth.net")) %></p>
 <% else %>
 <p><%= t ".registered_apps" %></p>
 <% @client_applications.each do |client| %>