X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/1ea57a3bb1c7649f70be3fa1c6d979ce45123ec3..6020e0519e20580364374d209420d519181621b2:/app/views/user/view.rhtml diff --git a/app/views/user/view.rhtml b/app/views/user/view.rhtml index 3d1707266..2090c2d5a 100644 --- a/app/views/user/view.rhtml +++ b/app/views/user/view.rhtml @@ -1,73 +1,37 @@
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%> +<% if @user and @this_user.id == @user.id %> +<%= 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 | + +