{% load i18n %}

<div>
    <h2>{% trans 'Access shared' %}</h2>
    <h4>{{obj.identifier}}</h4>
    <hr>
    <article>
        {% trans 'Hello team' %} {{team.name}},
        <br>
        <br>
        {% trans 'the following dataset has just been shared with your team' %}
        <br>
        <a href="{{ obj.get_detail_url_absolute }}"><strong>{{obj.identifier}}</strong></a>
        <br>
        <strong>"{{obj.title}}"</strong>
        <br>
        <br>
        {% trans 'This entry is located in' %}
        <br>
        <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>

