<commit_before>{% extends "dashboard/action.html" %}{% load bootstrap3 %}
{% load i18n %}

{% block title %}{% trans "Bestellungen" %} | {% trans "Kleidung" %}{% endblock %}

{% block content_dashboard_view %}
<h3>{% trans "Bestellungen" %}</h3>

<table class="table table-striped">
<thead>
<tr>
    <th>{% trans "Wer" %}</th>
    <th>{% trans "Kleidungsstück" %}</th>
    <th>{% trans "Farbe" %}</th>
    <th></th>
    <th>{% trans "Erhalten" %}</th>
</tr>
</thead>
{% for order in orders %}
    <tr class="{% if order.received_at %}success{% else %}danger{% endif %}">
        <td>{{ order.person.prename }} {{ order.person.name }}</td>
        <td>{{ order.type }} {{ order.size }}</td>
        <td>{{ order.color }}</td>
        <td>
            {% if order.additional %}
                <i class="fa fa-money" aria-hidden="true"></i>
            {% endif %}
        </td>
        <td>{% if order.received_at %}{% bootstrap_icon "ok" %}{% else %}{% bootstrap_icon "remove" %}{% endif %}</td>
    </tr>
{% empty %}
    <tr><td>{% trans "Bisher keine Bestellungen" %}</td><td></td><td></td></tr>
{% endfor %}
</table>
<commit_msg>add UI status icon to show whether clothes have been paid<commit_after>{% extends "dashboard/action.html" %}{% load bootstrap3 %}
{% load i18n %}

{% block title %}{% trans "Bestellungen" %} | {% trans "Kleidung" %}{% endblock %}

{% block content_dashboard_view %}
<h3>{% trans "Bestellungen" %}</h3>

<table class="table table-striped">
<thead>
<tr>
    <th>{% trans "Wer" %}</th>
    <th>{% trans "Kleidungsstück" %}</th>
    <th>{% trans "Farbe" %}</th>
    <th></th>
    <th>{% trans "Erhalten" %}</th>
</tr>
</thead>
{% for order in orders %}
    <tr class="{% if order.received_at %}success{% else %}danger{% endif %}">
        <td>{{ order.person.prename }} {{ order.person.name }}</td>
        <td>{{ order.type }} {{ order.size }}</td>
        <td>{{ order.color }}</td>
        <td>
            {% if order.additional %}
                <i class="fa fa-money" aria-hidden="true"></i>
                {% if order.paid %}
                    <span title="{% trans 'Bereits bezahlt' %}">{% bootstrap_icon "ok" %}</span>
                {% else %}
                    <span title="{% trans 'Noch nicht bezahlt' %}">{% bootstrap_icon "warning-sign" %}</span>
                {% endif %}
            {% endif %}
        </td>
        <td>{% if order.received_at %}{% bootstrap_icon "ok" %}{% else %}{% bootstrap_icon "remove" %}{% endif %}</td>
    </tr>
{% empty %}
    <tr><td>{% trans "Bisher keine Bestellungen" %}</td><td></td><td></td></tr>
{% endfor %}
</table>

{'fraction_non_alphanumeric': 0.23637759017651575, 'fraction_numerical': 0.003837298541826554, 'mean_word_length': 2.703125, 'pattern_counts': {'":': 0, '<': 87, '<?xml version=': 0, '>': 87, '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': '3016817', 'n_tokens_mistral': 1001, 'n_tokens_neox': 900, 'n_words': 223}