{% load i18n %}

<div>
    <h2>{% trans 'Access shared' %}</h2>
    <h4>{{obj_identifier}}</h4>
    <hr>
    <article>
        {% trans 'Hello ' %} {{user.username}},
        <br>
        <br>
        {% trans 'the following dataset has just been shared with you' %}
        <br>
        <strong>{{obj_identifier}}</strong>
        <br>
        <strong>"{{obj_title}}"</strong>
        <br>
        <br>
        {% trans 'This entry is located in' %}
        <ul>
        {% for municipal in municipals_names %}
            <li>{{municipal}}</li>
        {% empty %}
        </ul>
        {% trans 'Unknown - No administrative location recognized' %}
        {% endfor %}
        </ul>
        {% trans 'This means you can now edit this dataset.' %}
        {% trans 'The shared dataset appears now by default on your overview for this dataset type.' %}
        <br>
        <br>
        {% trans 'Best regards' %}
        <br>
        KSP
        <br>
        <br>
        <br>
        <small>
            {% trans 'Please note: Shared access on an intervention means you automatically have editing access to related compensations.' %}
        </small>
        <br>
        <br>
        {% include 'email/signature.html' %}
    </article>
</div>