1 <% content_for :head do %>
2 <%= javascript_include_tag "messages" %>
5 <% content_for :heading do %>
6 <h2><%= raw(t '.my_inbox', :inbox_link => link_to(t('.inbox'), inbox_messages_path)) %>/<%= t '.outbox' %></h2>
9 <h4><%= t '.messages', :count => current_user.sent_messages.size %></h4>
11 <% if current_user.sent_messages.size > 0 %>
12 <table class="messages">
15 <th><%= t '.to' %></th>
16 <th><%= t '.subject' %></th>
17 <th><%= t '.date' %></th>
22 <%= render :partial => "sent_message_summary", :collection => current_user.sent_messages %>
26 <div class="messages"><%= raw(t '.no_sent_messages', :people_mapping_nearby_link => link_to(t('.people_mapping_nearby'), user_path(current_user))) %></div>