<commit_before><% content_for :title do %>
  <% "OpenSplitTime: Best efforts - #{@presenter.name} - #{@presenter.segment_name}" %>
<% end %>

<% content_for(:container_type) do %>skip
<% end %>

<header class="ost-header">
  <div class="container">
    <div class="ost-heading row">
      <div class="col">
        <div class="ost-title">
          <h1><strong><%= [@presenter.name, "All-time Best"].compact.join(': ') %></strong></h1>
          <ul class="breadcrumb breadcrumb-ost">
            <li class="breadcrumb-item"><%= link_to 'Organizations', organizations_path %></li>
            <% if @presenter.organization %>
              <li class="breadcrumb-item"><%= link_to @presenter.organization.name, organization_path(@presenter.organization) %></li>
            <% end %>
            <li class="breadcrumb-item"><%= link_to @presenter.name, course_path(@presenter.course) %></li>
            <li class="breadcrumb-item active">All-Time best</li>
          </ul>
        </div>
      </div>
    </div>
    <%= course_view_tabs(@presenter) %>
  </div>
</header>

<aside class="ost-toolbar">
  <div class="container">
    <div class="row">
      <div class="col-12 col-sm-7">
        <% if @presenter.all_efforts_count.positive? %>
          <%= render 'best_efforts_lookup', presenter: @presenter %>
        <% end %>
      </div>
      <div class="col-12 col-sm-5">
        <div class="text-right">
          <% unless @presenter.simple? %>
            <%= segment_start_dropdown(@presenter) %>
            <%= segment_finish_dropdown(@presenter) %>
          <% end %>
          <%= gender_dropdown_menu(@presenter) %>
        </div>
      </div>
    </div>
  </div>
</aside>

<article class="ost-article container">
  <h4>
    <strong><%= "#{@presenter.segment_name}: #{d(@presenter.distance)} #{pdu}, #{e(@presenter.vert_gain)} #{peu} elevation gain, #{e(@presenter.vert_loss)} #{peu} elevation loss" %></strong>
  </h4>
  <% if @presenter.all_efforts_count.positive?  %>
    <h5>
      <%= "Searched #{pluralize(@presenter.events_count, 'event')}
      from #{[@presenter.earliest_event_date, @presenter.most_recent_event_date].compact.join(' to ')}" %>
    </h5>

    <% if @presenter.filtered_segments_count.positive? %>
      <%= render 'efforts/efforts_list_segment', presenter: @presenter %>

      <div class="row">
        <div class="col-xs-8">
          <%= will_paginate(@presenter.filtered_segments, inner_window: 2, outer_window: 0) %><commit_msg>Remove pagination box in favor of Show More link<commit_after><% content_for :title do %>
  <% "OpenSplitTime: Best efforts - #{@presenter.name} - #{@presenter.segment_name}" %>
<% end %>

<% content_for(:container_type) do %>skip
<% end %>

<header class="ost-header">
  <div class="container">
    <div class="ost-heading row">
      <div class="col">
        <div class="ost-title">
          <h1><strong><%= [@presenter.name, "All-time Best"].compact.join(': ') %></strong></h1>
          <ul class="breadcrumb breadcrumb-ost">
            <li class="breadcrumb-item"><%= link_to 'Organizations', organizations_path %></li>
            <% if @presenter.organization %>
              <li class="breadcrumb-item"><%= link_to @presenter.organization.name, organization_path(@presenter.organization) %></li>
            <% end %>
            <li class="breadcrumb-item"><%= link_to @presenter.name, course_path(@presenter.course) %></li>
            <li class="breadcrumb-item active">All-Time best</li>
          </ul>
        </div>
      </div>
    </div>
    <%= course_view_tabs(@presenter) %>
  </div>
</header>

<aside class="ost-toolbar">
  <div class="container">
    <div class="row">
      <div class="col-12 col-sm-7">
        <% if @presenter.all_efforts_count.positive? %>
          <%= render 'best_efforts_lookup', presenter: @presenter %>
        <% end %>
      </div>
      <div class="col-12 col-sm-5">
        <div class="text-right">
          <% unless @presenter.simple? %>
            <%= segment_start_dropdown(@presenter) %>
            <%= segment_finish_dropdown(@presenter) %>
          <% end %>
          <%= gender_dropdown_menu(@presenter) %>
        </div>
      </div>
    </div>
  </div>
</aside>

<article class="ost-article container">
  <h4>
    <strong><%= "#{@presenter.segment_name}: #{d(@presenter.distance)} #{pdu}, #{e(@presenter.vert_gain)} #{peu} elevation gain, #{e(@presenter.vert_loss)} #{peu} elevation loss" %></strong>
  </h4>
  <% if @presenter.all_efforts_count.positive? %>
    <h5>
      <%= "Searched #{pluralize(@presenter.events_count, 'event')}
      from #{[@presenter.earliest_event_date, @presenter.most_recent_event_date].compact.join(' to ')}" %>
    </h5>

    <% if @presenter.filtered_segments_count.positive? %>
      <%= render 'efforts/efforts_list_segment', presenter: @presenter %>

      <div class="row">
        <div class="col text-center">
          <% if @presenter.filtered_segments_count == @presenter.per_page %>
            <%= link_to "Show More", request.params.merge(page: @presenter.next_page) %>
          <% else %>
            <p>End of List</p>
          <% end %>
{'fraction_non_alphanumeric': 0.1902534113060429, 'fraction_numerical': 0.005263157894736842, 'mean_word_length': 2.965224111282844, 'pattern_counts': {'":': 0, '<': 150, '<?xml version=': 0, '>': 150, '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': '2478577', 'n_tokens_mistral': 1803, 'n_tokens_neox': 1664, 'n_words': 301}