<commit_before>{% extends "AdminBundle::backend.html.twig" %}

{% block content %}
    <h1>Article list</h1>

    <table class="records_list">
        <thead>
            <tr>
                <th>Title</th>
                <th>Visible</th>
                <th>Created</th>
                <th>Actions</th>
            </tr>
        </thead>
        <tbody>
        {% for entity in entities %}
            <tr>
                <td><a href="{{ path('admin_article_show', { 'id': entity.id }) }}">{{ entity.title }}</a></td>
                <td>{{ entity.visible }}</td>
                <td>{{ entity.created |date('Y-m-d') }}</td>
                <td>
                    <ul>
                        <li>
                            <img src="{{ asset('bundles/andro/images/icons/page_edit.png') }}" /> <a href="{{ path('admin_article_edit', { 'id': entity.id }) }}">Edit</a>
                        </li>
                    </ul>
                </td>
            </tr>
        {% endfor %}
        </tbody>
    </table>

    <a class="awesome" href="{{ path('admin_article_new') }}">
        Create a new entry
    </a>
{% endblock %}
<commit_msg>replace boolean with images<commit_after>{% extends "AdminBundle::backend.html.twig" %}

{% block content %}
    <h1>Article list</h1>

    <table class="records_list">
        <thead>
            <tr>
                <th>Title</th>
                <th>Visible</th>
                <th>Created</th>
                <th>Actions</th>
            </tr>
        </thead>
        <tbody>
        {% for entity in entities %}
            <tr>
                <td><a href="{{ path('admin_article_show', { 'id': entity.id }) }}">{{ entity.title }}</a></td>
                <td>
                {% if (entity.visible) %}
                    <img src="{{ asset('bundles/andro/images/icons/tick.png') }}" />
                {% else %}
                    <img src="{{ asset('bundles/andro/images/icons/cross.png') }}" />
                {% endif %}
                </td>
                <td>{{ entity.created |date('Y-m-d') }}</td>
                <td>
                    <ul>
                        <li>
                            <img src="{{ asset('bundles/andro/images/icons/page_edit.png') }}" /> <a href="{{ path('admin_article_edit', { 'id': entity.id }) }}">Edit</a>
                        </li>
                    </ul>
                </td>
            </tr>
        {% endfor %}
        </tbody>
    </table>

    <a class="awesome" href="{{ path('admin_article_new') }}">
        Create a new entry
    </a>
{% endblock %}

{'fraction_non_alphanumeric': 0.18766963939511438, 'fraction_numerical': 0.0015509887553315238, 'mean_word_length': 1.2493461203138623, 'pattern_counts': {'":': 0, '<': 83, '<?xml version=': 0, '>': 83, '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': '4043894', 'n_tokens_mistral': 810, 'n_tokens_neox': 739, 'n_words': 144}