<commit_before><%# Requires parameter events %>

<table class="table table-condensed table-striped">
  <thead>
  <tr>
    <th>Name</th>
    <th>Date and Time</th>
    <th>Details</th>
  </tr>
  </thead>
  <tbody>
  <% events.each do |event| %>
      <tr>
        <td><strong><%= link_to event.name, event_path(event) %></strong></td>
        <td><%= l(event.start_time, format: :full_with_time) %></td>
        <td><%= "#{pluralize(event.effort_count, 'effort')}" %>
        </td>
      </tr>
  <% end %>
  </tbody>
</table><commit_msg>Add Available Live link to event list views.<commit_after><%# Requires parameter events %>

<table class="table table-condensed table-striped">
  <thead>
  <tr>
    <th>Name</th>
    <th>Date and Time</th>
    <th>Details</th>
    <th></th>
  </tr>
  </thead>
  <tbody>
  <% events.each do |event| %>
      <tr>
        <td><strong><%= link_to event.name, event_path(event) %></strong></td>
        <td><%= l(event.start_time, format: :full_with_time) %></td>
        <td><%= "#{pluralize(event.effort_count, 'effort')}" %></td>
        <td>
          <% if event.available_live && @current_user.authorized_for_live?(event) %>
              <%= link_to 'Available Live', live_entry_live_event_path(event) %>
          <% end %>
        </td>
      </tr>
  <% end %>
  </tbody>
</table>
{'fraction_non_alphanumeric': 0.20968962906888722, 'fraction_numerical': 0.0, 'mean_word_length': 2.7988505747126435, 'pattern_counts': {'":': 0, '<': 70, '<?xml version=': 0, '>': 70, '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': '6253845', 'n_tokens_mistral': 510, 'n_tokens_neox': 485, 'n_words': 97}