1 <% content_for :head do %>
2 <%= javascript_include_tag "messages" %>
5 <% content_for :heading do %>
6 <h2><%= t '.my_inbox' %>/<%= link_to t('.outbox'), outbox_messages_path %></h2>
9 <h4><%= render :partial => "message_count" %></h4>
11 <% if current_user.messages.size > 0 %>
12 <table class="messages">
15 <th><%= t '.from' %></th>
16 <th><%= t '.subject' %></th>
17 <th><%= t '.date' %></th>
23 <%= render :partial => "message_summary", :collection => current_user.messages %>
27 <div><%= raw(t '.no_messages_yet', :people_mapping_nearby_link => link_to(t('.people_mapping_nearby'), user_path(current_user))) %></div>