<commit_before>{% extends 'base.html' %}
{% load static i18n compress thumbnail absolute_urls %}

{% block title %}{% trans 'Schedule' %}{% endblock title %}

{% block tail_extra_js %}
{% compress js %}
<script src="{% static 'js/tabs.js' %}" type="text/javascript" charset="utf-8"></script>
{% endcompress js %}
{% endblock tail_extra_js %}

{% block content %}
<section id="schedule">
  <ul class="tabs">
    {% regroup broadcast_list by get_weekday_display as broadcast_list_by_weekday %}
    {% for weekday in broadcast_list_by_weekday %}
    <li class="tab{% if forloop.first %} default{% endif %}" data-tab="tab{{ forloop.counter }}">
      {{ weekday.grouper }}
    </li>
    {% endfor %}
  </ul>
  <ul class="tabsContents">
    {% for weekday in broadcast_list_by_weekday %}
    <li class="tabContent" data-tab="tab{{ forloop.counter }}">
      <ul>
        {% for broadcast in weekday.list %}
        <li>
          <time>{{ broadcast.beginning }}</time>
          <h1><a href="{{ broadcast.link }}">{{ broadcast }}</a></h1>
          <p>{{ broadcast.classification | safe }}</p>
        </li>
        {% endfor %}
      </ul>
    </li>
    {% endfor %}
  </ul>
</section>
{% endblock content %}<commit_msg>Do not render undefined broadcast links<commit_after>{% extends 'base.html' %}
{% load static i18n compress thumbnail absolute_urls %}

{% block title %}{% trans 'Schedule' %}{% endblock title %}

{% block tail_extra_js %}
{% compress js %}
<script src="{% static 'js/tabs.js' %}" type="text/javascript" charset="utf-8"></script>
{% endcompress js %}
{% endblock tail_extra_js %}

{% block content %}
<section id="schedule">
  <ul class="tabs">
    {% regroup broadcast_list by get_weekday_display as broadcast_list_by_weekday %}
    {% for weekday in broadcast_list_by_weekday %}
    <li class="tab{% if forloop.first %} default{% endif %}" data-tab="tab{{ forloop.counter }}">
      {{ weekday.grouper }}
    </li>
    {% endfor %}
  </ul>
  <ul class="tabsContents">
    {% for weekday in broadcast_list_by_weekday %}
    <li class="tabContent" data-tab="tab{{ forloop.counter }}">
      <ul>
        {% for broadcast in weekday.list %}
        <li>
          <time>{{ broadcast.beginning }}</time>
          <h1>
            {% if broadcast.link %}
            <a href="{{ broadcast.link }}">{{ broadcast }}</a>
            {% else %}
            {{ broadcast }}
            {% endif %}
          </h1>
          <p>{{ broadcast.classification | safe }}</p>
        </li>
        {% endfor %}
      </ul>
    </li>
    {% endfor %}
  </ul>
</section>
{% endblock content %}
{'fraction_non_alphanumeric': 0.1839568067875048, 'fraction_numerical': 0.0038565368299267257, 'mean_word_length': 2.8716417910447762, 'pattern_counts': {'":': 0, '<': 51, '<?xml version=': 0, '>': 51, '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': '929707', 'n_tokens_mistral': 900, 'n_tokens_neox': 812, 'n_words': 200}