X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/1ea57a3bb1c7649f70be3fa1c6d979ce45123ec3..755a2c596c405772212e60bccf9c356da3853812:/app/views/user/view.rhtml diff --git a/app/views/user/view.rhtml b/app/views/user/view.rhtml index 3d1707266..97a90ed61 100644 --- a/app/views/user/view.rhtml +++ b/app/views/user/view.rhtml @@ -1,73 +1,39 @@
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%> - -<%= params[:display_name] %> says:
-<%= simple_format(@this_user.description) %> - +<%= link_to nearby.display_name, :controller => 'user', :action => 'view', :display_name => nearby.display_name %> | +<%= @this_user.distance(nearby).round %>km away | + +