<commit_before>{% extends 'adminbase.html.twig' %}

{% block title %}Reports: Emails List{% endblock %}

{% block breadcrumbs %}
    <nav class="breadcrumb">
        <a class="breadcrumb-item" href="/">Home</a>
        <a class="breadcrumb-item" href="{{ path('admin_index')}}">Admin</a>
        <a class="breadcrumb-item" href="{{ path('admin_report_index')}}">Reports</a>
        <span class="breadcrumb-item active">Email List</span>
    </nav>
{% endblock %}

{% block body %}
    <h1>Email List</h1>

    {{ form_start(form) }}
        {{ form_widget(form.membershipType) }}
        <input type="submit" class="btn btn-primary" value="Go" />
    {{ form_end(form) }}

    <h2>Regular Emails</h2>
    <div>
        {{ regularEmailsString }}
    </div>

    <h2>Crappy BT Emails</h2>
    <div>
        {{ btEmailsString }}
    </div>
{% endblock %}<commit_msg>Allow email list to be filtered by membership type<commit_after>{% extends 'adminbase.html.twig' %}

{% block title %}Reports: Emails List{% endblock %}

{% block breadcrumbs %}
    <nav class="breadcrumb">
        <a class="breadcrumb-item" href="/">Home</a>
        <a class="breadcrumb-item" href="{{ path('admin_index')}}">Admin</a>
        <a class="breadcrumb-item" href="{{ path('admin_report_index')}}">Reports</a>
        <span class="breadcrumb-item active">Email List</span>
    </nav>
{% endblock %}

{% block body %}
    <h1>Email List</h1>

    {{ form_start(form) }}
    <div class="row mb-3">
        <div class="col-lg-2">
            {{ form_widget(form.membershipType) }}
        </div>

        <div class="col-lg-10">
            <input type="submit" class="btn btn-primary" value="Go" />
        </div>
    </div>
    {{ form_end(form) }}

    <h2>Regular Emails</h2>
    <div>
        {{ regularEmailsString }}
    </div>

    <h2>Crappy BT Emails</h2>
    <div>
        {{ btEmailsString }}
    </div>
{% endblock %}
{'fraction_non_alphanumeric': 0.1949553336836574, 'fraction_numerical': 0.008407777193904361, 'mean_word_length': 2.854251012145749, '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': '5623391', 'n_tokens_mistral': 689, 'n_tokens_neox': 654, 'n_words': 126}