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