1 <% content_for :heading_class, "pb-0" %>
3 <% content_for :heading do %>
4 <h1><%= t("users.show.my messages") %></h1>
5 <ul class="nav nav-tabs">
6 <% { t(".my_inbox") => inbox_messages_path, t(".my_outbox") => outbox_messages_path, t(".muted_messages") => muted_messages_path }.each do |label, path| %>
7 <% next if path == muted_messages_path && current_user.muted_messages.none? %>
10 <% if path == active_link_path %>
11 <a class="nav-link active"><%= label %></a>
13 <%= link_to label, path, :class => "nav-link" %>