<commit_before>{% extends "base.html" %}

{% load wagtailcore_tags event_tags %}

{% block title %}UWCS | Events overview {% endblock %}

{% block content %}
  <section class="row margin-top-2x margin-top-1x events">
    <div class="small-12 columns">
      <h4>{{ self.title }}</h4>
    </div>
    {% sidebar show_sponsor=True display_first=True %}
    <div class="small-12 medium-8 medium-pull-4 large-9 large-pull-3 columns">
      <ul class="no-bullet week-list">
        {% if weeks %}
          {% for week in weeks %}
            <li>
              <h5>Week beginning {{ week.0.start|first_monday|date:'jS F Y' }}</h5>
              <ul class="no-bullet event-list">
                {% for event in week %}
                  <li class="row event">
                    <div class="small-12 medium-4 large-3 columns">
                      <a href="{% pageurl event %}"><h3>{{ event.title }}</h3></a>
                      {% if event.signup_limit > 0 %}
                        <h6 class="subheader">Signups: {{ event.signups.count }}/{{ event.signup_limit }}</h6>
                      {% endif %}
                    </div>
                    <ul class="small-12 medium-8 large-9 columns no-bullet">
                      <li>{{ event.start|date:'D jS F H:i' }} - {{ event.finish|date:'D jS F H:i' }}</li>
                      <li>Location: {{ event.location }}</li>
                      <li>{{ event.description }}</li>
                    </ul>
                  </li>
                {% endfor %}
              </ul>
            </li>
          {% endfor %}
        {% else %}
          <li>
            <h5>There are no upcoming events</h5>
          </li><commit_msg>Adjust markup of empty list state<commit_after>{% extends "base.html" %}

{% load wagtailcore_tags event_tags %}

{% block title %}UWCS | Events overview {% endblock %}

{% block content %}
  <section class="row margin-top-2x margin-top-1x events">
    <div class="small-12 columns">
      <h4>{{ self.title }}</h4>
    </div>
    {% sidebar show_sponsor=True display_first=True %}
    <div class="small-12 medium-8 medium-pull-4 large-9 large-pull-3 columns">
      <ul class="no-bullet week-list">
        {% if weeks %}
          {% for week in weeks %}
            <li>
              <h5>Week beginning {{ week.0.start|first_monday|date:'jS F Y' }}</h5>
              <ul class="no-bullet event-list">
                {% for event in week %}
                  <li class="row event">
                    <div class="small-12 medium-4 large-3 columns">
                      <a href="{% pageurl event %}"><h3>{{ event.title }}</h3></a>
                      {% if event.signup_limit > 0 %}
                        <h6 class="subheader">Signups: {{ event.signups.count }}/{{ event.signup_limit }}</h6>
                      {% endif %}
                    </div>
                    <ul class="small-12 medium-8 large-9 columns no-bullet">
                      <li>{{ event.start|date:'D jS F H:i' }} - {{ event.finish|date:'D jS F H:i' }}</li>
                      <li>Location: {{ event.location }}</li>
                      <li>{{ event.description }}</li>
                    </ul>
                  </li>
                {% endfor %}
              </ul>
            </li>
          {% endfor %}
        {% else %}
          <li>
            <p>There are no upcoming events</p>
          </li>
{'fraction_non_alphanumeric': 0.16312056737588654, 'fraction_numerical': 0.017139479905437353, 'mean_word_length': 1.4816715542521994, 'pattern_counts': {'":': 0, '<': 73, '<?xml version=': 0, '>': 75, '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': '6807156', 'n_tokens_mistral': 1092, 'n_tokens_neox': 976, 'n_words': 244}