<commit_before><%= content_for :breadcrumbs do %>
  <%= breadcrumbs_for_my_account %>
<% end %>

<div class="row">
  <%= render partial: 'layouts/user_menu' %>

  <div class="col-md-9 mu-tab-body">
    <div class="mu-user-header">
      <h1><%= t(:discussions) %></h1>
    </div>
    <% if @watched_discussions.empty? %>
      <div class="mu-tab-body">
        <%= t :discussions_will_be_here %>
      </div>
    <% else %>
      <div class="table-responsive mb-3">
        <table class="table table-striped">
          <tr>
            <td></td>
            <td><strong><%= t(:exercise) %></strong></td>
            <td><strong><%= t(:discussion_created_by) %></strong></td>
            <td><strong><%= t(:last_message) %></strong></td>
          </tr>
          <% @watched_discussions.each do |discussion| %>
            <tr>
              <td>
                <%= icon_for_read(discussion.read_by?(@user)) %>
              </td>
              <td><%= link_to discussion.item.name, item_discussion_path(discussion) %></td>
              <td><%= discussion_user_name discussion.initiator %></td>
              <td><%= time_ago_in_words discussion.last_message_date %></td>
            </tr>
          <% end %>
        </table>
      </div>

      <div class="discussion-pagination">
        <%= paginate @watched_discussions, nav_class: 'pagination' %>
      </div>

    <% end %>
  </div>
</div><commit_msg>Center read/unread icon for better positioning<commit_after><%= content_for :breadcrumbs do %>
  <%= breadcrumbs_for_my_account %>
<% end %>

<div class="row">
  <%= render partial: 'layouts/user_menu' %>

  <div class="col-md-9 mu-tab-body">
    <div class="mu-user-header">
      <h1><%= t(:discussions) %></h1>
    </div>
    <% if @watched_discussions.empty? %>
      <div class="mu-tab-body">
        <%= t :discussions_will_be_here %>
      </div>
    <% else %>
      <div class="table-responsive mb-3">
        <table class="table table-striped">
          <tr>
            <td></td>
            <td><strong><%= t(:exercise) %></strong></td>
            <td><strong><%= t(:discussion_created_by) %></strong></td>
            <td><strong><%= t(:last_message) %></strong></td>
          </tr>
          <% @watched_discussions.each do |discussion| %>
            <tr>
              <td class="text-center">
                <%= icon_for_read(discussion.read_by?(@user)) %>
              </td>
              <td><%= link_to discussion.item.name, item_discussion_path(discussion) %></td>
              <td><%= discussion_user_name discussion.initiator %></td>
              <td><%= time_ago_in_words discussion.last_message_date %></td>
            </tr>
          <% end %>
        </table>
      </div>

      <div class="discussion-pagination">
        <%= paginate @watched_discussions, nav_class: 'pagination' %>
      </div>

    <% end %>
  </div>
</div>
{'fraction_non_alphanumeric': 0.19234782608695652, 'fraction_numerical': 0.002782608695652174, 'mean_word_length': 2.1849390919158362, 'pattern_counts': {'":': 0, '<': 125, '<?xml version=': 0, '>': 125, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4921328', 'n_tokens_mistral': 1026, 'n_tokens_neox': 930, 'n_words': 165}