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

{% load compress %}
{% load i18n %}
{% load smartmin %}

{% block content %}
  {% if not request.user_regions %}
    <div class='none'>
      {% trans "You don't have access to any regions. Contact your administrator." %}
    </div>
  {% else %}
    <div class='row bottom-margin'>
        <div class='col-md-6'>
          <h2>
            {% trans "Latest Baseline Chart" %}
          </h2>
          <div id="container" class="chart-home">
          </div>
        </div>
        <div class='col-md-6'>
          <div class='page-header'>
            {% if org_perms.baseline.baselineterm_list %}
              <a class='btn btn-default pull-away' href='{% url 'baseline.baselineterm_list' %}'>
                <span class='glyphicon glyphicon-th-list'></span>
                {% trans "View All" %}
              </a>
            {% endif %}
            <h2>
              {% trans "Latest Baseline Terms" %}
            </h2>
          </div>
          <table class='table table-striped' style='width: 100%'>
          <thead>
            <tr>
              <th>
                {% trans "Name" %}
              </th>
              <th>
                {% trans "Start Date" %}
              </th>
              <th>
                {% trans "End Date" %}
              </th>
              <th>
                {% trans "Baseline Question" %}
              </th>
              <th>
                {% trans "Follow Up Question" %}
              </th>
            </tr>
          </thead>
          <tbody>
            {% for baselinetermitem in baselineterms %}
              <tr>
                <td>
                  <a href='/baselineterm/read/{{ baselinetermitem.pk }}/'>
                    {{ baselinetermitem.name }}
                  </a>
                  {% if baselinetermitem.pk == baselineterm.pk %}
                    (displayed)
                  {% endif %}
                </td>
                <td>
                  {{ baselinetermitem.start_date | date:"F d, Y"  }}
                </td>
                <td>
                  {{ baselinetermitem.end_date | date:"F d, Y"  }}
                </td>
                <td>
                  {{ baselinetermitem.baseline_question }}
                </td>
                <td>
                  {{ baselinetermitem.follow_up_question }}
                </td>
              </tr>
            {% endfor %}
          </tbody>
          </table><commit_msg>Removing space from template date filter. Reverse URL.<commit_after>{% extends "smartmin/base.html" %}

{% load compress %}
{% load i18n %}
{% load smartmin %}

{% block content %}
  {% if not request.user_regions %}
    <div class='none'>
      {% trans "You don't have access to any regions. Contact your administrator." %}
    </div>
  {% else %}
    <div class='row bottom-margin'>
        <div class='col-md-6'>
          <h2>
            {% trans "Latest Baseline Chart" %}
          </h2>
          <div id="container" class="chart-home">
          </div>
        </div>
        <div class='col-md-6'>
          <div class='page-header'>
            {% if org_perms.baseline.baselineterm_list %}
              <a class='btn btn-default pull-away' href='{% url 'baseline.baselineterm_list' %}'>
                <span class='glyphicon glyphicon-th-list'></span>
                {% trans "View All" %}
              </a>
            {% endif %}
            <h2>
              {% trans "Latest Baseline Terms" %}
            </h2>
          </div>
          <table class='table table-striped' style='width: 100%'>
          <thead>
            <tr>
              <th>
                {% trans "Name" %}
              </th>
              <th>
                {% trans "Start Date" %}
              </th>
              <th>
                {% trans "End Date" %}
              </th>
              <th>
                {% trans "Baseline Question" %}
              </th>
              <th>
                {% trans "Follow Up Question" %}
              </th>
            </tr>
          </thead>
          <tbody>
            {% for baselinetermitem in baselineterms %}
              <tr>
                <td>
                  <a href='{% url "baseline.baselineterm_read" baselinetermitem.pk %}'>
                    {{ baselinetermitem.name }}
                  </a>
                  {% if baselinetermitem.pk == baselineterm.pk %}
                    (displayed)
                  {% endif %}
                </td>
                <td>
                  {{ baselinetermitem.start_date|date:"F d, Y"  }}
                </td>
                <td>
                  {{ baselinetermitem.end_date|date:"F d, Y"  }}
                </td>
                <td>
                  {{ baselinetermitem.baseline_question }}
                </td>
                <td>
                  {{ baselinetermitem.follow_up_question }}
                </td>
              </tr>
            {% endfor %}
          </tbody>
          </table>
{'fraction_non_alphanumeric': 0.14145658263305322, 'fraction_numerical': 0.004401760704281713, 'mean_word_length': 1.0716949854952342, 'pattern_counts': {'":': 0, '<': 103, '<?xml version=': 0, '>': 103, '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': '500998', 'n_tokens_mistral': 1539, 'n_tokens_neox': 1355, 'n_words': 300}