- <td><% if @friend.home_lon and @friend.home_lat %><%= t 'user.view.km away', :count => @this_user.distance(@friend).round %><% end %></td>
- <td class="message">(<%= link_to t('user.view.send message'), :controller => 'message', :action => 'new', :user_id => @friend.id %>)</td>
+ <td>
+ <% if @friend.home_lon and @friend.home_lat %>
+ <% distance = @this_user.distance(@friend) %>
+ <% if distance < 1 %>
+ <%= t 'user.view.m away', :count => (distance * 1000).round %>
+ <% else %>
+ <%= t 'user.view.km away', :count => distance.round %>
+ <% end %>
+ <% end %>
+ </td>
+ <td class="message">(<%= link_to t('user.view.send message'), :controller => 'message', :action => 'new', :display_name => @friend.display_name %>)</td>