* adds mail sending logic for new notification setting * adds new templates for user and team based sending * enhances all email template layout * adds translations
		
			
				
	
	
		
			51 lines
		
	
	
		
			1.5 KiB
		
	
	
	
		
			HTML
		
	
	
	
	
	
			
		
		
	
	
			51 lines
		
	
	
		
			1.5 KiB
		
	
	
	
		
			HTML
		
	
	
	
	
	
{% load i18n %}
 | 
						|
 | 
						|
<div>
 | 
						|
    <h2>{% translate 'Deduction changed' %}</h2>
 | 
						|
    <h4>{{obj_identifier}}</h4>
 | 
						|
    <hr>
 | 
						|
    <article>
 | 
						|
        {% trans 'Hello team' %} {{team.name}},
 | 
						|
        <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>
 | 
						|
 |