X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/f832d4d54b07a0b74286e41658bc98ce1791a460..f7985046696958688b8a220a91c4b96ce16d4b65:/app/views/user/view.rhtml?ds=inline diff --git a/app/views/user/view.rhtml b/app/views/user/view.rhtml index 8a28b483e..37954e54b 100644 --- a/app/views/user/view.rhtml +++ b/app/views/user/view.rhtml @@ -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 %>