X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/3698ff353e2d40255ab9199473e6b755f513a202..c9f52b37265e8b08f7fcfc37f470c9a2c124f443:/app/views/user/view.rhtml diff --git a/app/views/user/view.rhtml b/app/views/user/view.rhtml index 78016e639..97a90ed61 100644 --- a/app/views/user/view.rhtml +++ b/app/views/user/view.rhtml @@ -1,71 +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 | + +