% content_for :heading_class, "pb-0" %>
<% content_for :heading do %>
  
<%= t ".heading_html", :user => link_to(@user.display_name, @user) %>
  
    - 
      <%= link_to t(".diary_entries"), user_diary_comments_path, :class => ["nav-link", { "active" => controller_name == "diary_comments" }] %>
    
- 
      <%= link_to t(".changesets"), user_changeset_comments_path, :class => ["nav-link", { "active" => controller_name == "changeset_comments" }] %>
    
<% end %>
<% if @comments.empty? %><%= t ".no_comments" %>
<% else %>
  <%= render :partial => "page" %>
<% end -%>