X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/e9bea64bf6806be1b0a951fd684fa13314cb8b67..c372f6cc18cd8353fdd926722c10aa308bd98790:/app/views/user/view.rhtml
diff --git a/app/views/user/view.rhtml b/app/views/user/view.rhtml
index 509630643..37954e54b 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%>
@@ -93,7 +93,7 @@
<% @this_user.nearby.each do |nearby| %>
<%= link_to h(nearby.display_name), :controller => 'user', :action => 'view', :display_name => nearby.display_name %> |
- <%= t 'user.view.no nearby users', :distance => l(@this_user.distance(nearby).round) %> |
+ <%= t 'user.view.km away', :distance => @this_user.distance(nearby).round %> |
(<%= link_to t('user.view.send message'), :controller => 'message', :action => 'new', :user_id => nearby.id %>) |
<% end %>