% content_for :heading_class, "pb-0" %>
<% content_for :heading do %>
<%= t("users.show.my messages") %>
<% { t(".my_inbox") => messages_inbox_path, t(".my_outbox") => messages_outbox_path, t(".muted_messages") => messages_muted_inbox_path }.each do |label, path| %>
<% next if path == messages_muted_inbox_path && current_user.muted_messages.none? %>
-
<% if path == active_link_path %>
<%= label %>
<% else %>
<%= link_to label, path, :class => "nav-link" %>
<% end %>
<% end %>
<% end %>