<commit_before><div class="row">
  <div class="col-lg-12">
    <h1 class="page-header">
      Mazizone <small>Notifications</small>
    </h1>
  </div>
</div>

<div class="row">
  <% unless error_msg.nil? %>
  <div class="alert alert-danger">
    <p><%= error_msg %></p>
  </div>
  <% end %>
  <table class="table">
    <thead>
      <tr>
        <th>ID</th>
        <th>Status</th>
        <th>Title</th>
        <th>Body</th>
        <th class='text-center'>Actions</th>
      </tr>
    </thead>
    <tbody>
      <% notifications.each do |notification| %>
      <tr class="notification_tr" id="notification_tr_<%= notification.id.to_s %>">
        <td scope="row"><%= notification.id %></td>
        <td>
          <label class="switch">
            <input type="checkbox" <%= notification.enabled ? 'checked' : '' %>>
            <div class="slider round enabled-switch" id='enabled-switch_<%= notification.id %>'></div>
          </label>
        </td>
        <td><%= notification.title %></td>
        <td><%= notification.body %></td>
        <td>
          <div class="text-center">
            <div class="btn-group pull-center"><commit_msg>admin notification stop showing id<commit_after><div class="row">
  <div class="col-lg-12">
    <h1 class="page-header">
      Mazizone <small>Notifications</small>
    </h1>
  </div>
</div>

<div class="row">
  <% unless error_msg.nil? %>
  <div class="alert alert-danger">
    <p><%= error_msg %></p>
  </div>
  <% end %>
  <table class="table">
    <thead>
      <tr>
        <!-- <th>ID</th> -->
        <th>Status</th>
        <th>Title</th>
        <th>Body</th>
        <th class='text-center'>Actions</th>
      </tr>
    </thead>
    <tbody>
      <% notifications.each do |notification| %>
      <tr class="notification_tr" id="notification_tr_<%= notification.id.to_s %>">
        <!-- <td scope="row"><%= notification.id %></td> -->
        <td>
          <label class="switch">
            <input type="checkbox" <%= notification.enabled ? 'checked' : '' %>>
            <div class="slider round enabled-switch" id='enabled-switch_<%= notification.id %>'></div>
          </label>
        </td>
        <td><%= notification.title %></td>
        <td><%= notification.body %></td>
        <td>
          <div class="text-center">
            <div class="btn-group pull-center">
{'fraction_non_alphanumeric': 0.20863616930312098, 'fraction_numerical': 0.003420265070542967, 'mean_word_length': 2.2911392405063293, 'pattern_counts': {'":': 0, '<': 117, '<?xml version=': 0, '>': 117, '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': '4485370', 'n_tokens_mistral': 806, 'n_tokens_neox': 767, 'n_words': 153}