X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/078301a780ebb9e624cf11d2f5d2d2b72ce03e78..3a8432422204336c95510ebe3d8b68233e48949a:/app/views/user/view.rhtml diff --git a/app/views/user/view.rhtml b/app/views/user/view.rhtml index 8a50ae321..7bc75a62f 100644 --- a/app/views/user/view.rhtml +++ b/app/views/user/view.rhtml @@ -1,33 +1,89 @@
You have <%=@user.get_new_messages.length %> new messages and <%=@user.get_all_messages.length - @user.get_new_messages.length %> old messages.
+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 %> | + +