From: Tom Hughes Date: Sun, 31 May 2009 17:50:00 +0000 (+0000) Subject: Fix bogus date translation. X-Git-Tag: live~7361 X-Git-Url: https://git.openstreetmap.org/rails.git/commitdiff_plain/f832d4d54b07a0b74286e41658bc98ce1791a460?hp=51010abe831e409be6218194e440a7948a0a9ca9 Fix bogus date translation. --- diff --git a/app/views/user/view.rhtml b/app/views/user/view.rhtml index 509630643..8a28b483e 100644 --- a/app/views/user/view.rhtml +++ b/app/views/user/view.rhtml @@ -71,7 +71,7 @@ <% end %> <%= link_to h(@friend.display_name), :controller => 'user', :action => 'view', :display_name => @friend.display_name %> - <% if @friend.home_lon and @friend.home_lat %><%= t 'user.view.km away', :distance => l(@this_user.distance(@friend).round) %><% end %> + <% if @friend.home_lon and @friend.home_lat %><%= t 'user.view.km away', :distance => @this_user.distance(@friend).round %><% end %> (<%= link_to t('user.view.send message'), :controller => 'message', :action => 'new', :user_id => @friend.id %>) <%end%>