<commit_before><div class='toolbar'>
  <ul class='actions'>
    <li>
      <%= button_link_to t("banner.new_banner"), spree.new_admin_banner_path, :icon => 'add' %>
    </li>
  </ul>
  <br class="clear" />
</div>

<h1><%= t("banner.listing") %></h1>

<table class="index sortable" data-hook data-sortable-link="<%= update_positions_admin_banners_url %>">
  <tr>
    <th><%= t("banner.title") %></th>
    <th><%= t("banner.position") %></th>
    <th><%= t("banner.enable") %></th>
    <th><%= t(:action) %></th>
  </tr>
  <tbody>
    <% @banners.each do |banner| %>
      <tr class="<%= cycle('even', 'odd') %>" id="<%= dom_id banner %>">
        <td>
          <span class="handle"></span>
          <%= banner.title %>
        </td>
        <td><%= Spree::Banner::POSITIONS[banner.position.to_s] %></td>
        <td><%= icon('tick') if banner.enabled %></td>
        <td>
          <%= link_to_edit banner %> &nbsp;
          <%= link_to_delete banner %>
        </td>
      </tr>
    <% end %>
  </tbody>
</table><commit_msg>new columns on index: url and dimensions<commit_after><div class='toolbar'>
  <ul class='actions'>
    <li>
      <%= button_link_to t("banner.new_banner"), spree.new_admin_banner_path, :icon => 'add' %>
    </li>
  </ul>
  <br class="clear" />
</div>

<h1><%= t("banner.listing") %></h1>

<table class="index sortable" data-hook data-sortable-link="<%= update_positions_admin_banners_url %>">
  <tr>
    <th><%= t("banner.title") %></th>
    <th><%= t("banner.url") %></th>
    <th><%= t("banner.position") %></th>
    <th><%= t("banner.enable") %></th>
    <th><%= t("banner.dimensions") %></th>
    <th><%= t(:action) %></th>
  </tr>
  <tbody>
    <% @banners.each do |banner| %>
      <tr class="<%= cycle('even', 'odd') %>" id="<%= dom_id banner %>">
        <td>
          <span class="handle"></span>
          <%= banner.title %>
        </td>
        <td><%= banner.url %></td>
        <td><%= Spree::Banner::POSITIONS[banner.position.to_s] %></td>
        <td><%= icon('tick') if banner.enabled %></td>
        <td><%= "#{banner.attachment_width} x #{banner.attachment_height}" %></td>
        <td>
          <%= link_to_edit banner %> &nbsp;
          <%= link_to_delete banner %>
        </td>
      </tr>
    <% end %>
  </tbody>
</table>
{'fraction_non_alphanumeric': 0.2546093064091308, 'fraction_numerical': 0.001755926251097454, 'mean_word_length': 2.7731788079470197, 'pattern_counts': {'":': 0, '<': 117, '<?xml version=': 0, '>': 119, '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': '360060', 'n_tokens_mistral': 930, 'n_tokens_neox': 862, 'n_words': 165}