X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/20e02f42dc5d946f4650c806531b09f793abf503..a424b6282f1587eb02f2add29b85958a86fc79c1:/app/views/user/view.rhtml?ds=sidebyside diff --git a/app/views/user/view.rhtml b/app/views/user/view.rhtml index 6f6bdb450..15176f375 100644 --- a/app/views/user/view.rhtml +++ b/app/views/user/view.rhtml @@ -1,71 +1,45 @@
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 | + +
<%= params[:display_name] %> says:
-<%= simple_format(@this_user.description) %> - -