1 <% content_for :head do %>
2 <%= javascript_include_tag "messages" %>
5 <% content_for :heading_class, "pb-0" %>
7 <% content_for :heading do %>
8 <h1><%= t("users.show.my messages") %></h1>
10 <ul class="nav nav-tabs">
12 <%= link_to t(".my_inbox"), inbox_messages_path, :class => "nav-link" %>
15 <a class="nav-link active"><%= t ".my_outbox" %></a>
20 <h4><%= t ".messages", :count => current_user.sent_messages.size %></h4>
22 <% if current_user.sent_messages.size > 0 %>
23 <table class="table table-sm">
26 <th><%= t ".to" %></th>
27 <th><%= t ".subject" %></th>
28 <th><%= t ".date" %></th>
33 <%= render :partial => "sent_message_summary", :collection => current_user.sent_messages %>
37 <div class="messages"><%= t(".no_sent_messages_html", :people_mapping_nearby_link => link_to(t(".people_mapping_nearby"), user_path(current_user))) %></div>