<commit_before>{% macro list(customers) %}

{% import 'SyliusResourceBundle:Macros:buttons.html.twig' as buttons %}
{% import 'SyliusWebBundle:Backend/Macros:alerts.html.twig' as alerts %}
{% import 'SyliusWebBundle:Backend/Macros:misc.html.twig' as misc %}

{% if customers|length > 0 %}
<table id="customers" class="table">
    <thead>
        <tr>
            <th>{{ sylius_resource_sort('id', 'sylius.customer.id'|trans) }}</th>
            <th>{{ sylius_resource_sort('firstName', 'sylius.address.firstname'|trans) }}</th>
            <th>{{ sylius_resource_sort('lastName', 'sylius.address.lastname'|trans) }}</th>
            <th>{{ sylius_resource_sort('email', 'sylius.customer.email'|trans) }}</th>
            <th>{{ sylius_resource_sort('user.createdAt', 'sylius.user.registration_date'|trans) }}</th>
            <th>{{ sylius_resource_sort('user.enabled', 'sylius.user.enabled'|trans) }}</th>
            <th></th>
        </tr>
    </thead>
    <tbody>
        {% for customer in customers %}
        <tr id="{{ customer.id }}" data-customer="{{ customer.email }}" {% if customer.deleted %} class="danger"{% endif %}>
            <td>{{ customer.id }}</td>
            <td>{{ customer.firstName }}</td>
            <td>{{ customer.lastName }}</td><commit_msg>Fix translation keys for backend customer macro<commit_after>{% macro list(customers) %}

{% import 'SyliusResourceBundle:Macros:buttons.html.twig' as buttons %}
{% import 'SyliusWebBundle:Backend/Macros:alerts.html.twig' as alerts %}
{% import 'SyliusWebBundle:Backend/Macros:misc.html.twig' as misc %}

{% if customers|length > 0 %}
<table id="customers" class="table">
    <thead>
        <tr>
            <th>{{ sylius_resource_sort('id', 'sylius.customer.id'|trans) }}</th>
            <th>{{ sylius_resource_sort('firstName', 'sylius.customer.first_name'|trans) }}</th>
            <th>{{ sylius_resource_sort('lastName', 'sylius.customer.last_name'|trans) }}</th>
            <th>{{ sylius_resource_sort('email', 'sylius.customer.email'|trans) }}</th>
            <th>{{ sylius_resource_sort('user.createdAt', 'sylius.user.registration_date'|trans) }}</th>
            <th>{{ sylius_resource_sort('user.enabled', 'sylius.user.enabled'|trans) }}</th>
            <th></th>
        </tr>
    </thead>
    <tbody>
        {% for customer in customers %}
        <tr id="{{ customer.id }}" data-customer="{{ customer.email }}" {% if customer.deleted %} class="danger"{% endif %}>
            <td>{{ customer.id }}</td>
            <td>{{ customer.firstName }}</td>
            <td>{{ customer.lastName }}</td>
{'fraction_non_alphanumeric': 0.1956689868522815, 'fraction_numerical': 0.0007733952049497294, 'mean_word_length': 3.318864774624374, 'pattern_counts': {'":': 0, '<': 57, '<?xml version=': 0, '>': 59, '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': '4629989', 'n_tokens_mistral': 916, 'n_tokens_neox': 857, 'n_words': 151}