<commit_before>{% extends "messages/base.html" %}
{% load i18n %}
{% load timezone_filters %}
{% block body %}
    <h1>{% trans "Inbox" %}</h1>
    <table class="messages">
        <thead>
            <tr><th>{% trans "Sender" %}</th><th>{% trans "Subject" %}</th><th>{% trans "Received" %}</th><th>{% trans "Action" %}</th></tr>
        </thead>
        <tbody>
    {% for message in message_list %} 
        <tr>
            <td>{{ message.sender }}</td>
            <td>
                {% if message.new %}<strong>{% endif %}
                {% if message.replied %}<em>{% endif %}
                <a href="{{ message.get_absolute_url }}">{{ message.subject }}</a>
                {% if message.replied %}</em>{% endif %}
                {% if message.new %}</strong>{% endif %}</td>
            <td>{{ message.sent_at|localtime:user.get_profile.timezone|date:_("DATETIME_FORMAT") }}</td>
            <td><a href="{% url messages_delete message.id %}">{% trans "delete" %}</a></td>
        </tr>
    {% endfor %}
        </tbody>
    </table>
{% endblock %}<commit_msg>show (none) if no subject<commit_after>{% extends "messages/base.html" %}
{% load i18n %}
{% load timezone_filters %}
{% block body %}
    <h1>{% trans "Inbox" %}</h1>
    <table class="messages">
        <thead>
            <tr><th>{% trans "Sender" %}</th><th>{% trans "Subject" %}</th><th>{% trans "Received" %}</th><th>{% trans "Action" %}</th></tr>
        </thead>
        <tbody>
    {% for message in message_list %} 
        <tr>
            <td>{{ message.sender }}</td>
            <td>
                {% if message.new %}<strong>{% endif %}
                {% if message.replied %}<em>{% endif %}
                <a href="{{ message.get_absolute_url }}">{% if message.subject %}{{ message.subject }}{% else %}(none){% endif %}</a>
                {% if message.replied %}</em>{% endif %}
                {% if message.new %}</strong>{% endif %}</td>
            <td>{{ message.sent_at|localtime:user.get_profile.timezone|date:_("DATETIME_FORMAT") }}</td>
            <td><a href="{% url messages_delete message.id %}">{% trans "delete" %}</a></td>
        </tr>
    {% endfor %}
        </tbody>
    </table>
{% endblock %}
{'fraction_non_alphanumeric': 0.22589406971480308, 'fraction_numerical': 0.0036215482118605704, 'mean_word_length': 2.1982633863965266, 'pattern_counts': {'":': 0, '<': 75, '<?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': '5098014', 'n_tokens_mistral': 778, 'n_tokens_neox': 699, 'n_words': 165}