<commit_before><h1><%= @event %></h1>

<h2>Management</h2>
<ul>
  <li>Create Competition from Sign-Ups</li>
  <li>Disable Judging</li>
  <li>Publish Results</li>
</ul>
<hr />

<h2>Sign Ups</h2>
<ul>
  <li>Print Sign-Ups list</li>
</ul>

<hr />
<h2>Data Entry</h2>
<ul>
  <li>Print Paper Copies</li>
  <li>Enter Heat Information</li>
  <li>Enter Results</li>
  <li>Print Data Checking</li>
</ul>

<hr />
<h2>Results printing</h2>
<ul>
  <li>Display/Edit Results</li>
</ul>

<hr />
<h2>Awards Printing</h2>
<ul>
  <li>Announcer Forms</li>
  <li>Create Awards</li>
</ul><commit_msg>start hooking up links on the new events landing page<commit_after><h1><%= @event %></h1>
<hr />

<h2>Management</h2>
<ul>
  <li>Create Competition from Sign-Ups</li>
  <li>Disable Judging<br />
  <ul>
    <% @event.competitions.each do |competition| %>
      <li>
      <% if competition.locked? %>
        <%= link_to "Unlock #{competition}", lock_competition_path(competition), :method => :delete %>
      <% else %>
        <%= link_to "Lock #{competition}", lock_competition_path(competition), :method => :post %>
      <% end %>
      </li>
    <% end %>
  </ul>
  </li>
  <li>Manage Judges<br />
  <ul>
    <% @event.competitions.each do |competition| %>
      <li>
      <%= link_to 'View/Add', competition_judges_path(competition) %>
      </li>
    <% end %>
  </ul>
  </li>
  <li>Manage Competition <br />
  <ul>
    <% @event.competitions.each do |competition| %>
      <li><%= link_to "Edit #{competition}", edit_competition_path(competition) %></li>
      <li><%= link_to "Destroy #{competition}",  competition_path(competition), :method => :delete, :confirm => "Are you sure?" %></li>
    <% end %>
  </ul>
  </li>

  <li>Publish Results</li>
</ul>
<hr />

<h2>Sign Ups</h2>

<table class="event_listing">
  <tr>
    <th>Event-Category</th>
    <th>Sign-Ups</th>
    <th>Associated Competition</th>
    <th></th>
  </tr>
  <% @event.event_categories.each do |ec| %>
    <tr>
      <td><%= ec %></td>
      <td><%= link_to 'View Sign Up list', sign_ups_event_category_path(ec) %></td>
      <td><%= link_to "Create New", new_event_category_competition_path(ec) %></td>
      <td><%= link_to "Create New (blank)", new_empty_event_competitions_path(@event) %></td>
    </tr>
  <% end %>
</table>


<hr />
<h2>Data Entry</h2>
<ul>
  <% @event.competitions.each do |competition| %>
    <li>Print Paper Copies for <%= competition %><br />
    <ul>
      <li><%= link_to "Announcer Form", announcer_printing_competition_path(competition) %>
      <%= link_to "(pdf)", announcer_printing_competition_path(competition, :format => :pdf) %></li>
      <li><%= link_to "Heat Recording", heat_recording_printing_competition_path(competition) %>
      <%= link_to "(pdf)", heat_recording_printing_competition_path(competition, :format => :pdf) %></li>
      <li><%= link_to "Two Attempt Recording", two_attempt_recording_printing_competition_path(competition) %>
      <%= link_to "(pdf)", two_attempt_recording_printing_competition_path(competition, :format => :pdf) %></li>
    </ul>
    </li>
  <% end %>
  <li>Enter Heat Information
    <ul>
    <% @event.competitions.each do |competition| %>
      <li><%= link_to "#{competition} Lane Assignments", competition_lane_assignments_path(competition) %></li>
    <% end %>
    </ul>
  </li>
  <li>Enter Results</li>
  <li>Print Data Checking</li>
</ul>

<hr />
<h2>Results printing</h2>
<ul>
  <li>Display/Edit Results</li>
  <% @event.competitions.each do |competition| %>
    <li><%= competition %>
    <ul>
      <li><%= link_to 'View', results_url(competition) %></li>
      <li>
      <%= form_tag(results_printing_competition_path(competition, :format => :pdf), :method => :get) do %>
        <%= label_tag :no_page_breaks %>
        <%= check_box_tag :no_page_breaks %><br />

        <%= submit_tag "Print Results" %>
      <% end %>
      </li>
    </ul>
    </li>
  <% end %>
</ul>

<hr />
<h2>Awards Printing</h2>
<ul>
  <li>Announcer Forms</li>
  <li>Create Awards</li>
</ul>
{'fraction_non_alphanumeric': 0.2025883524141364, 'fraction_numerical': 0.005973120955699353, 'mean_word_length': 3.5463800904977374, 'pattern_counts': {'":': 0, '<': 204, '<?xml version=': 0, '>': 213, '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': '6413211', 'n_tokens_mistral': 1608, 'n_tokens_neox': 1526, 'n_words': 308}