From: Tom Hughes Date: Thu, 17 Nov 2011 10:00:47 +0000 (+0000) Subject: Fix formatting of user list X-Git-Tag: live~6549 X-Git-Url: https://git.openstreetmap.org./rails.git/commitdiff_plain/73b7ab344c2b0dd6bd87e0bc819fcd7014b52594 Fix formatting of user list --- diff --git a/app/views/user/_user.html.erb b/app/views/user/_user.html.erb index bbc89f965..4f62a51e9 100644 --- a/app/views/user/_user.html.erb +++ b/app/views/user/_user.html.erb @@ -7,13 +7,13 @@

<% if user.creation_ip %> - <%= t 'user.list.summary', + <%= raw t 'user.list.summary', :name => link_to(h(user.display_name), :action => "view", :display_name => user.display_name), :ip_address => link_to(user.creation_ip, :ip => user.creation_ip), :date => l(user.creation_time, :format => :friendly) %> <% else %> - <%= t 'user.list.summary_no_ip', + <%= raw t 'user.list.summary_no_ip', :name => link_to(h(user.display_name), :action => "view", :display_name => user.display_name), :date => l(user.creation_time, :format => :friendly) %>