<commit_before>{% extends "bs.html" %}{% load i18n %}


{% block content %}
    <section class="projects">
        {% for project in projects %}

            {% ifchanged project.client %}
                <h1 class="client">{{ project.client.name }}</h1>
            {% endifchanged %}

            <div class="dashboard__item project">
                <h2 class="project__title">{{ project.name }}</h2>
                <p class="project__details">
                    <i class="fa fa-eur"></i>
                    {% if project.flat_fee %}
                        {% trans "Flat fee" %}: {{ project.flat_fee }} &euro;
                    {% else %}
                        {% trans "Hourly rate" %}: {{ project.base_rate }} &euro;
                    {% endif %}
                </p>
                <p class="project__details">
                    <a href="{% url 'work_entries:list' project_slug=project.slug %}">
                        {% with project.n_workentries as count %}
                            {% if count > 1 %}
                                {% blocktrans %}
                                    {{ count }} work entries logged
                                {% endblocktrans %}
                            {% elif count == 1 %}
                                {% blocktrans %}
                                    {{ count }} work entry logged
                                {% endblocktrans %}
                            {% endif %}
                        {% endwith %}
                    </a>
                </p>
            </div>

        {% endfor %}
    </section>
{% endblock content %}<commit_msg>Redeploy<commit_after>{% extends "bs.html" %}{% load i18n %}


{% block content %}
    <section class="projects">
        {% for project in projects %}

            {% ifchanged project.client %}
                <h1 class="client">{{ project.client.name }}</h1>
            {% endifchanged %}

            <div class="dashboard__item project">
                <h2 class="project__title">{{ project.name }}</h2>
                <p class="project__details">
                    <i class="fa fa-eur"></i>
                    {% if project.flat_fee %}
                        {% trans "Flat fee" %}: {{ project.flat_fee }} &euro;
                    {% else %}
                        {% trans "Hourly rate" %}: {{ project.base_rate }} &euro;
                    {% endif %}
                </p>
                <p class="project__details">
                    <a href="{% url 'work_entries:list' project_slug=project.slug %}">
                        {% with project.n_workentries as count %}
                            {% if count > 1 %}
                                {% blocktrans %}
                                    {{ count }} work entries logged
                                {% endblocktrans %}
                            {% elif count == 1 %}
                                {% blocktrans %}
                                    {{ count }} work entry logged
                                {% endblocktrans %}
                            {% endif %}
                        {% endwith %}
                    </a>
                </p>
            </div>
        {% endfor %}
    </section>
{% endblock content %}
{'fraction_non_alphanumeric': 0.1309157959434542, 'fraction_numerical': 0.004917025199754148, 'mean_word_length': 0.9632086851628469, 'pattern_counts': {'":': 0, '<': 35, '<?xml version=': 0, '>': 37, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 12, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2271808', 'n_tokens_mistral': 870, 'n_tokens_neox': 730, 'n_words': 170}