* extends all relevant mail templates such that municipals of an entry will be shown in the mail
		
			
				
	
	
		
			40 lines
		
	
	
		
			976 B
		
	
	
	
		
			HTML
		
	
	
	
	
	
			
		
		
	
	
			40 lines
		
	
	
		
			976 B
		
	
	
	
		
			HTML
		
	
	
	
	
	
{% load i18n %}
 | 
						|
 | 
						|
<div>
 | 
						|
    <h2>{% trans 'Resubmission' %}</h2>
 | 
						|
    <h4>{{obj_identifier}}</h4>
 | 
						|
    <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>
 | 
						|
 |