fix year copyright in email

This commit is contained in:
Son Nguyen Kim 2021-07-30 17:05:16 +02:00
parent 9968cbfa8e
commit 383cd49f25
2 changed files with 2 additions and 1 deletions

View File

@ -77,6 +77,7 @@ def render(template_name, **kwargs) -> str:
MAX_NB_EMAIL_FREE_PLAN=MAX_NB_EMAIL_FREE_PLAN,
URL=URL,
LANDING_PAGE_URL=LANDING_PAGE_URL,
YEAR=arrow.now().year,
**kwargs,
)

View File

@ -477,7 +477,7 @@
<table class="email-footer" align="center" width="750" cellpadding="0" cellspacing="0" role="presentation" style="width: 750px; -premailer-width: 750px; -premailer-cellpadding: 0; -premailer-cellspacing: 0; text-align: center; margin: 0 auto; padding: 0;">
<tr>
<td class="content-cell" align="center" style="word-break: break-word; font-family: Helvetica, Arial, sans-serif; font-size: 16px; padding: 30px;">
<p class="f-fallback sub align-center" style="font-size: 13px; line-height: 1.625; text-align: center; color: #A8AAAF; margin: .4em 0 1.1875em;" align="center">© 2020 SimpleLogin. All rights reserved.
<p class="f-fallback sub align-center" style="font-size: 13px; line-height: 1.625; text-align: center; color: #A8AAAF; margin: .4em 0 1.1875em;" align="center">© {{ YEAR }} SimpleLogin. All rights reserved.
<br />
{% block footer %}
{% endblock %}