My inbox/<%= link_to "outbox", url_for(:controller => "user", :action => "outbox", :id => @user.display_name) %>
You have <%= @user.new_messages.size %> new messages and <%= @user.messages.size - @user.new_messages.size %> old messages
<% if @user.messages.size > 0 %>
From |
Subject |
Date |
|
|
<%= render :partial => "message_summary", :collection => @user.messages %>
<% else %>
You have no messages yet. Why not get in touch with some of the <%= link_to 'people mapping nearby', :controller => 'user', :action => 'view', :display_name => @user.display_name %>?
<% end %>