unsubscribe-url in simplenews template

This commit is contained in:
Bachir Soussi Chiadmi 2022-05-06 01:02:54 +02:00
parent a354821797
commit 16cd0ec856
1 changed files with 20 additions and 12 deletions

View File

@ -82,20 +82,28 @@
</tbody>
</table>
{% if not opt_out_hidden %}
{% if format == 'html' %}
<p class="newsletter-footer"><a
href="[simplenews-subscriber:unsubscribe-url]">{{ unsubscribe_text }}</a>
</p>
{% else %}
-- {{ unsubscribe_text }} : [simplenews-subscriber:unsubscribe-url]
<p class="newsletter-footer">
<a href="[simplenews-subscriber:unsubscribe-url]">{{ unsubscribe_text }}</a>
</p>
{#
{% if not opt_out_hidden %}
{% if format == 'html' %}
<p class="newsletter-footer"><a
href="[simplenews-subscriber:unsubscribe-url]">{{ unsubscribe_text }}</a>
</p>
{% else %}
-- {{ unsubscribe_text }} : [simplenews-subscriber:unsubscribe-url]
{% endif %}
{% endif %}
{% endif %}
{% if key == 'test' %}
- - - {{ test_message }} - - -
{% endif %}
{% if key == 'test' %}
- - - {{ test_message }} - - -
{% endif %}
#}
{% if test %}
- - - this is a test message - - -
{% endif %}
<p id="footer_address" style="color:#444444; text-align: center; margin: 20px 20px 0; line-height:1; font-size:10px; ">
matériO SAS<br>8, rue Chaptal<br>75009 Paris<br><a href="https://materio.com" style="color:#444444">materio.com</a>
</p>