X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/3a8432422204336c95510ebe3d8b68233e48949a..285d61bf4cd6cd93e6ae0f4905db9faf4a6f71f5:/app/views/user/view.rhtml diff --git a/app/views/user/view.rhtml b/app/views/user/view.rhtml index 7bc75a62f..97a90ed61 100644 --- a/app/views/user/view.rhtml +++ b/app/views/user/view.rhtml @@ -2,88 +2,38 @@
You have <%=@user.get_new_messages.length %> new messages and <%=@user.get_all_messages.length - @user.get_new_messages.length %> old messages:
- -You have no messages.
-<%end%> - -<%= link_to nearby.display_name, :controller => 'user', :action => 'view', :display_name => nearby.display_name %> | +<%= @this_user.distance(nearby).round %>km away |