{% load i18n %}

<div>
    <h2>{% translate 'Deduction changed' %}</h2>
    <h4>{{obj_identifier}}</h4>
    <hr>
    <article>
        {% translate 'Hello ' %} {{user.username}},
        <br>
        <br>
        {% translate 'a deduction of this eco account has changed:' %}
        <br>
        <br>
        <table>
            <tr>
               <th scope="col">{% translate 'Attribute' %}</th>
               <th scope="col">{% translate 'Old' %}</th>
               <th scope="col">{% translate 'New' %}</th>
            </tr>
            <tr>
                <td>{% translate 'EcoAccount' %}</td>
                <td>{{data_changes.account.old}}</td>
                <td>{{data_changes.account.new}}</td>
            </tr>
            <tr>
                <td>{% translate 'Intervention' %}</td>
                <td>{{data_changes.intervention.old}}</td>
                <td>{{data_changes.intervention.new}}</td>
            </tr>
            <tr>
                <td>{% translate 'Surface' %}</td>
                <td>{{data_changes.surface.old}} m²</td>
                <td>{{data_changes.surface.new}} m²</td>
            </tr>
        </table>
        <br>
        <br>
        {% translate 'If this should not have been happened, please contact us. See the signature for details.' %}
        <br>
        <br>
        {% translate 'Best regards' %}
        <br>
        KSP
        <br>
        <br>
        <br>
        {% include 'email/signature.html' %}
    </article>
</div>

