mpeltriaux
7b3b40f3c9
* adds direct object links into mail templates * refactors transferring app-model identification data from fore- to background (celery) properly
40 lines
1.0 KiB
HTML
40 lines
1.0 KiB
HTML
{% load i18n %}
|
|
|
|
<div>
|
|
<h2>{% trans 'Resubmission' %}</h2>
|
|
<a href="{{ obj.get_detail_url_absolute }}"><h4>{{obj.identifier}}</h4></a>
|
|
<hr>
|
|
<article>
|
|
{% trans 'Hello ' %} {{resubmission.user.username}},
|
|
<br>
|
|
<br>
|
|
{% trans 'you wanted to be reminded on this entry.' %}
|
|
<br>
|
|
{% if resubmission.comment %}
|
|
<br>
|
|
{% trans 'Your personal comment:' %}
|
|
<br>
|
|
<article style="font: italic">"{{resubmission.comment}}"</article>
|
|
{% endif %}
|
|
<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>
|
|
<br>
|
|
{% trans 'Best regards' %}
|
|
<br>
|
|
KSP
|
|
<br>
|
|
<br>
|
|
{% include 'email/signature.html' %}
|
|
</article>
|
|
</div>
|
|
|