Commit fa430ecd by Mathieu Poisbeau

Merge branch 'dev' into 'master'

#478: add the 'footer' translation slug for the email layout

See merge request cooperatic/kohinos!5
parents 99ae22d3 49789599
...@@ -10,12 +10,12 @@ ...@@ -10,12 +10,12 @@
{{ 'add_adherent.title'|trans({}, 'mails')|raw }} {{ 'add_adherent.title'|trans({}, 'mails')|raw }}
</h2> </h2>
<p> <div style="margin-bottom: 15px;">
{{ 'add_adherent.welcome'|trans({}, 'mails')|raw }} {{ 'add_adherent.welcome'|trans({}, 'mails')|raw }}
</p> </div>
<p> <p>
{{ 'add_adherent.confirm'|trans({}, 'mails')|raw }} {{ 'add_adherent.confirm'|trans({}, 'mails')|raw }}
<br/> <br/>
<a href='{{confirmationUrl}}'>{{confirmationUrl}}</a> <a href='{{confirmationUrl}}'>{{confirmationUrl}}</a>
</p> </p>
......
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
<!-- content --> <!-- content -->
<div style="display: block; margin: 0 auto; max-width: 600px;"> <div style="display: block; margin: 0 auto; max-width: 600px;">
<table style="width: 100%;"> <table style="width: 100%;">
<tr> <tr>
<td> <td>
{% block main %} {% block main %}
...@@ -30,21 +30,19 @@ ...@@ -30,21 +30,19 @@
</h2> </h2>
{% endblock title%} {% endblock title%}
<br/> <br/>
{% block content %} {% block content %}{% endblock content %}
{% endblock content %}
{% block footer%} {% block footer%}
<p>{{ KOH_MLC_NAME }}</p> {{ 'footer'|trans({}, 'mails')|raw }}
{% endblock footer%} {% endblock footer%}
{% endblock main %} {% endblock main %}
</td> </td>
</tr> </tr>
</table> </table>
</div> </div>
<!-- /content --> <!-- /content -->
</td> </td>
<td></td> <td></td>
</tr> </tr>
......
footer: ''
add_adherent: add_adherent:
title: Valider la création de votre compte title: Valider la création de votre compte
welcome: Un administreur a créé votre nouveau compte MLC welcome: Un administreur a créé votre nouveau compte MLC
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment