% content_for :head do %>
<%= javascript_include_tag "messages" %>
<% end %>
<% content_for :heading_class, "pb-0" %>
<% content_for :heading do %>
<%= t("users.show.my messages") %>
<% end %>
<%= render :partial => "message_count" %>
<% if current_user.messages.size > 0 %>
<%= t ".from" %> |
<%= t ".subject" %> |
<%= t ".date" %> |
<%= render :partial => "message_summary", :collection => current_user.messages %>
<% else %>
<%= t(".no_messages_yet_html", :people_mapping_nearby_link => link_to(t(".people_mapping_nearby"), user_path(current_user))) %>
<% end %>