1 <% content_for :heading do %>
2 <h2><%= t'message.inbox.my_inbox'%>/<%= link_to t('message.inbox.outbox'), outbox_path(current_user.display_name) %></h2>
5 <h4><%= render :partial => "message_count" %></h4>
7 <% if current_user.messages.size > 0 %>
8 <table class="messages">
11 <th><%= t'message.inbox.from' %></th>
12 <th><%= t'message.inbox.subject' %></th>
13 <th><%= t'message.inbox.date' %></th>
19 <%= render :partial => "message_summary", :collection => current_user.messages %>
23 <div><%= raw(t'message.inbox.no_messages_yet', :people_mapping_nearby_link => link_to(t('message.inbox.people_mapping_nearby'), :controller => 'user', :action => 'view', :display_name => current_user.display_name)) %></div>