<commit_before>      <tr class="line<%= cycle("0", "1") -%>">
        <td style="width: 30px"><%= @manifestations.offset_value + 1 + manifestation_counter -%></td>
        <% cache([manifestation, fragment: 'manifestation_html', role: current_user_role_name, locale: @locale]) do %>
          <td style="480px">
            <% if manifestation.root_series_statement %>
              <%= render 'manifestations/show_series_index', manifestation: manifestation, series_statement: manifestation.root_series_statement -%>
            <% else %>
              <%= render 'manifestations/show_index', manifestation: manifestation -%>
              <div class="access_address">
                <%= link_to manifestation.access_address, manifestation.access_address if manifestation.access_address.present? -%>
              </div>
              <% if current_user.try(:has_role?, 'Librarian') %>
                <%- unless manifestation.items.empty? -%>
                  (<%= link_to_function t('page.holding'), "$('#holding_#{manifestation.id}').toggle()" -%>)
                <% end %>
              <% else %>
                <%- unless manifestation.items.for_checkout.on_shelf.empty? -%>
                  (<%= link_to_function t('page.holding'), "$('#holding_#{manifestation.id}').toggle()" -%>)
                <%- end -%>
              <%- end -%>
              <% if defined?(EnjuBookmark) %>
                <%- if manifestation.tags.first -%>
                  (<%= link_to_function t('activerecord.models.tag'), "$('#tag_#{manifestation.id}').toggle()" -%>)
                <%- end -%>
                <%= render 'manifestations/show_tag', manifestation: manifestation -%>
              <% end %>
            <% end %>
            <%= render 'manifestations/holding', manifestation: manifestation -%>
          </td>
          <% if signed_in? %>
            <td id="edit_icons">
              <% if defined?(EnjuCirculation) %>
                <% unless params[:mode] == 'add' %>
                  <% if manifestation.is_reservable_by?(current_user) %>
                    <%- reserve = manifestation.is_reserved_by?(current_user) -%>
                    <%- if reserve -%>
                      <%= link_to t('reserve.show'), reserve -%>
                    <%- else -%>
                      <%= link_to t('activerecord.models.reserve'), new_reserve_path(manifestation_id: manifestation.id) if can? :create, Reserve -%>
                    <%- end -%>
                  <% end %>
                  <br />
                <% end %>
              <% end %>
              <%- if can? :update, manifestation -%>
                <% unless params[:mode] == 'add' %>
                  <%= link_to image_tag('icons/book_edit.png', size: '16x16', alt: t('page.edit')), edit_manifestation_path(manifestation) -%>
                <% else %>
                  <% case %>
                  <% when @parent %>
                    <%= link_to t('page.add'), new_manifestation_relationship_path(manifestation_id: @parent.id, child_id: manifestation.id) unless @parent.derived_manifestations.include?(manifestation) or @parent == manifestation -%>
                  <% when @item %>
                    <%= link_to t('page.change'), edit_item_path(@item, manifestation_id: manifestation.id) unless @item.manifestation == manifestation -%>
                  <% else %>
                    <%= link_to image_tag('icons/arrow_divide.png', size: '16x16', alt: t('manifestation.add_derivation')), new_manifestation_path(parent_id: manifestation.id) -%>
                  <% end %>
                <%- end -%>
              <%- end -%>
            </td>
          <% end %>
        <% end %>
      </tr>
<commit_msg>removed link_to_function<commit_after>      <tr class="line<%= cycle("0", "1") -%>">
        <td style="width: 30px"><%= @manifestations.offset_value + 1 + manifestation_counter -%></td>
        <% cache([manifestation, fragment: 'manifestation_html', role: current_user_role_name, locale: @locale]) do %>
          <td style="480px">
            <% if manifestation.root_series_statement %>
              <%= render 'manifestations/show_series_index', manifestation: manifestation, series_statement: manifestation.root_series_statement -%>
            <% else %>
              <%= render 'manifestations/show_index', manifestation: manifestation -%>
              <div class="access_address">
                <%= link_to manifestation.access_address, manifestation.access_address if manifestation.access_address.present? -%>
              </div>
              <% if current_user.try(:has_role?, 'Librarian') %>
                <%- unless manifestation.items.empty? -%>
                  (<%= link_to "#", { onclick: "$('#holding_#{manifestation.id}').toggle(); return false;"} do t('page.holding') end %>)
                <% end %>
              <% else %>
                <%- unless manifestation.items.for_checkout.on_shelf.empty? -%>
                  (<%= link_to "#", { onclick: "$('#holding_#{manifestation.id}').toggle(); return false;"} do t('page.holding') end %>)
                <%- end -%>
              <%- end -%>
              <% if defined?(EnjuBookmark) %>
                <%- if manifestation.tags.first -%>
                  (<%= link_to "#", { onclick: "$('#tag_#{manifestation.id}').toggle(); return false;" } do t('activerecord.models.tag') end %>)
                <%- end -%>
                <%= render 'manifestations/show_tag', manifestation: manifestation -%>
              <% end %>
            <% end %>
            <%= render 'manifestations/holding', manifestation: manifestation -%>
          </td>
          <% if signed_in? %>
            <td id="edit_icons">
              <% if defined?(EnjuCirculation) %>
                <% unless params[:mode] == 'add' %>
                  <% if manifestation.is_reservable_by?(current_user) %>
                    <%- reserve = manifestation.is_reserved_by?(current_user) -%>
                    <%- if reserve -%>
                      <%= link_to t('reserve.show'), reserve -%>
                    <%- else -%>
                      <%= link_to t('activerecord.models.reserve'), new_reserve_path(manifestation_id: manifestation.id) if can? :create, Reserve -%>
                    <%- end -%>
                  <% end %>
                  <br />
                <% end %>
              <% end %>
              <%- if can? :update, manifestation -%>
                <% unless params[:mode] == 'add' %>
                  <%= link_to image_tag('icons/book_edit.png', size: '16x16', alt: t('page.edit')), edit_manifestation_path(manifestation) -%>
                <% else %>
                  <% case %>
                  <% when @parent %>
                    <%= link_to t('page.add'), new_manifestation_relationship_path(manifestation_id: @parent.id, child_id: manifestation.id) unless @parent.derived_manifestations.include?(manifestation) or @parent == manifestation -%>
                  <% when @item %>
                    <%= link_to t('page.change'), edit_item_path(@item, manifestation_id: manifestation.id) unless @item.manifestation == manifestation -%>
                  <% else %>
                    <%= link_to image_tag('icons/arrow_divide.png', size: '16x16', alt: t('manifestation.add_derivation')), new_manifestation_path(parent_id: manifestation.id) -%>
                  <% end %>
                <%- end -%>
              <%- end -%>
            </td>
          <% end %>
        <% end %>
      </tr>

{'fraction_non_alphanumeric': 0.16253333333333334, 'fraction_numerical': 0.004266666666666667, 'mean_word_length': 1.8294983025273481, 'pattern_counts': {'":': 0, '<': 133, '<?xml version=': 0, '>': 133, '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': '1362919', 'n_tokens_mistral': 2353, 'n_tokens_neox': 1992, 'n_words': 348}