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

{% block content %}

    <div class="container">
        <h1><a href="{{ object.url }}">{{ object.name }}</a></h1>
        <p>Event on {{ object.event_date }} in {{ object.location }}.</p>

        {% if object.reaction_set.all.count > 0 %}        
            <h2>{{ object.reaction_set.all.count }} 
            reaction{% if object.reaction_set.all.count > 1 %}s{% endif %} 
            from this event:</h2>
            <div class="reactions-list">
                {% for o in object.reaction_set.all %}
                    "{{ o.message }}" from {{ o.phone_number }}.
                {% endfor %}
            </div>
        {% else %}<commit_msg>fixing output on messages page<commit_after>{% extends "base.html" %}

{% block content %}

    <div class="container">
        <h1><a href="{{ object.url }}">{{ object.name }}</a></h1>
        <p>Event on {{ object.event_date }} in {{ object.location }}.</p>

        {% if object.reaction_set.all.count > 0 %}        
            <h2>{{ object.reaction_set.all.count }} 
            reaction{% if object.reaction_set.all.count > 1 %}s{% endif %} 
            from this event:</h2>
            <div class="reactions-list">
                {% for o in object.reaction_set.all %}
                    "{{ o.message }}" from {{ o.phone_number }}.<br/>
                {% endfor %}
            </div>
        {% else %}
{'fraction_non_alphanumeric': 0.1825284090909091, 'fraction_numerical': 0.008522727272727272, 'mean_word_length': 1.751953125, 'pattern_counts': {'":': 0, '<': 26, '<?xml version=': 0, '>': 30, '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': '1206698', 'n_tokens_mistral': 471, 'n_tokens_neox': 407, 'n_words': 93}