<commit_before>{# templates/frontoffice/programmationslist.html.twig #}

{% extends "frontoffice/baselayout.html.twig" %}

{% block title %}{{ parent() }} - programmations list{% endblock %}

{% block body %}
    <h1>List of programmations</h1>
    {% if programmationslist is not empty %}
        <p>Here are all your programmations:</p>
        <ul>
        {# Loop through list and creeate the list of programmation items. #}
        {% for programmation in programmationslist %}
            <li>
          		{{ programmation.id }} {{ programmation.circuit.description }} le {{ programmation.dateDepart|date('d-m-Y')  }}
            </li>
        {% endfor %}
        </ul>
    {% else %}
        <p>Sorry, you don't have any programmations yet!</p>
    {% endif %}    
{% endblock %} {# body #}
<commit_msg>Adding href between /programmation and /circuit/{id}<commit_after>{# templates/frontoffice/programmationslist.html.twig #}

{% extends "frontoffice/baselayout.html.twig" %}

{% block title %}{{ parent() }} - programmations list{% endblock %}

{% block body %}
    <h1>Liste des programmations</h1>
    {% if programmationslist is not empty %}
        <p>Voici toutes les programmations :</p>
        <ul>
        {# Loop through list and creeate the list of programmation items. #}
        {% for programmation in programmationslist %}
            <li>
          		<a href="/circuit/{{ programmation.circuit.id }}">{{ programmation.circuit.description }}</a> le {{ programmation.dateDepart|date('d-m-Y')  }}
            </li>
        {% endfor %}
        </ul>
    {% else %}
        <p>Désolé, il n'y a rien de programmé pour l'instant :(</p>
    {% endif %}    
{% endblock %} {# body #}

{'fraction_non_alphanumeric': 0.15637860082304528, 'fraction_numerical': 0.0023515579071134627, 'mean_word_length': 2.6212765957446806, 'pattern_counts': {'":': 0, '<': 25, '<?xml version=': 0, '>': 25, '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': '3630622', 'n_tokens_mistral': 600, 'n_tokens_neox': 537, 'n_words': 129}