<commit_before>{% extends 'base.html' %}
{% block title %}Liste d'élus{% endblock %}
{% block content %}
    <h2>Élus</h2>
    <table class="table table-bordered table-hover table-sm">
	<tr>
	    <th>#</th>
	    <th>Élu</th>
	    <th>Téléphone</th>
	    {% if user.is_authenticated %}
	    <th>Statut</th>
	    <th>Assigné à</th>
	    {% endif %}
	</tr>
        {% for elu in object_list %}
	<tr>
	    <td>{{ forloop.counter }}.</td>
	    <td><a href="{{ elu.get_absolute_url }}">{{ elu }}</a></td>
	    <td>{{ elu.public_phone }}</td>
	    {% if user.is_authenticated %}
	    <td>{{ elu.get_status_display }}</td>
	    <td>{{ elu.assigned_to|default:"" }}</td>
	    {% endif %}<commit_msg>Add the department in the list of representatives<commit_after>{% extends 'base.html' %}
{% block title %}Liste d'élus{% endblock %}
{% block content %}
    <h2>Élus</h2>
    <table class="table table-bordered table-hover table-sm">
	<tr>
	    <th>#</th>
	    <th>Élu</th>
	    {% if 'department' not in request.GET %}
	    <th>Dép.</th>
	    {% endif %}
	    <th>Téléphone</th>
	    {% if user.is_authenticated %}
	    <th>Statut</th>
	    <th>Assigné à</th>
	    {% endif %}
	</tr>
        {% for elu in object_list %}
	<tr>
	    <td>{{ forloop.counter }}.</td>
	    <td><a href="{{ elu.get_absolute_url }}">{{ elu }}</a></td>
	    {% if 'department' not in request.GET %}
	    <td>{{ elu.department }}</td>
	    {% endif %}
	    <td>{{ elu.public_phone }}</td>
	    {% if user.is_authenticated %}
	    <td>{{ elu.get_status_display }}</td>
	    <td>{{ elu.assigned_to|default:"" }}</td>
	    {% endif %}
{'fraction_non_alphanumeric': 0.22180451127819548, 'fraction_numerical': 0.002506265664160401, 'mean_word_length': 2.713953488372093, 'pattern_counts': {'":': 0, '<': 63, '<?xml version=': 0, '>': 63, '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': '4539554', 'n_tokens_mistral': 706, 'n_tokens_neox': 607, 'n_words': 127}