28 lines
846 B
Twig
28 lines
846 B
Twig
|
{% import _self as macros %}
|
||
|
|
||
|
{% macro render_nws_block(block) %}
|
||
|
{% include block.getTemplate with {'block' : block} %}
|
||
|
{% endmacro%}
|
||
|
|
||
|
<h1>{{ macros.render_nws_block(blocks['title']) }}</h1>
|
||
|
<h2>{{ macros.render_nws_block(blocks['subtitle']) }}</h2>
|
||
|
<table>
|
||
|
<tbody>
|
||
|
<tr>
|
||
|
<td>{{ macros.render_nws_block(blocks['content1']) }}</td>
|
||
|
<td>{{ macros.render_nws_block(blocks['content2']) }}</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td colspan="2">{{ macros.render_nws_block(blocks['content3']) }}</td>
|
||
|
</tr>
|
||
|
</tbody>
|
||
|
<tfoot>
|
||
|
<tr>
|
||
|
<td colspan="2">
|
||
|
Si vous voulez vous désabonnez de la newsletter,
|
||
|
<a href="{{ url('newsletter_unsubscribe',{ token : user.unsubscribeToken }) }}">cliquez ici</a>.
|
||
|
</td>
|
||
|
</tr>
|
||
|
</tfoot>
|
||
|
</table>
|