X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/3a8432422204336c95510ebe3d8b68233e48949a..9afb35449b066fdef6b4af3b63e30e7f4eb4c5cf:/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 |