1 <% content_for :head do %>
2 <%= javascript_include_tag "messages" %>
5 <% content_for :heading_class, "pb-0" %>
7 <% content_for :heading do %>
8 <ul class="nav nav-tabs">
10 <%= link_to t(".my_inbox"), inbox_messages_path, :class => "nav-link" %>
13 <a class="nav-link active"><%= t ".my_outbox" %></a>
18 <h4><%= t ".messages", :count => current_user.sent_messages.size %></h4>
20 <% if current_user.sent_messages.size > 0 %>
21 <table class="table table-sm">
24 <th><%= t ".to" %></th>
25 <th><%= t ".subject" %></th>
26 <th><%= t ".date" %></th>
31 <%= render :partial => "sent_message_summary", :collection => current_user.sent_messages %>
35 <div class="messages"><%= t(".no_sent_messages_html", :people_mapping_nearby_link => link_to(t(".people_mapping_nearby"), user_path(current_user))) %></div>