roundabout,
created on Tuesday, 13 February 2024, 19:38:33 (1707853113),
received on Saturday, 30 March 2024, 13:10:53 (1711804253)
Author identity: vlad <vlad.muntoiu@gmail.com>
85d9e0b0135f725276d465166575e40835936558
config.py
@@ -144,4 +144,22 @@ footer = """
</p> """ mail_footer = """ <small> For any inquiries, write to <a href="mailto:{{ config.CONTACT_EMAIL }}"></a><br>. To adjust your email notification preferences, log in to your account in a browser and visit <a href="{{ config.web_protocol }}://{{ config.BASE_DOMAIN }}/settings">your user settings</a>. </small> """ mail_header = """ <img src="{{ config.web_protocol }}://{{ config.BASE_DOMAIN }}/static/logo.svg" width="48"> """ mail_footer_plain = """ For any inquiries, write to <{{ config.CONTACT_EMAIL }}>. To adjust your email notification preferences, log in to your account in a browser and visit your user settings at <{{ config.web_protocol }}://{{ config.BASE_DOMAIN }}/settings>. """ www_protocol = f"http{'s' if suggest_https else ''}"
email_templates/mail.html
@@ -5,18 +5,14 @@
</head> <body> <header> {{ config.mail_header }}</header> <main> {% block content %} {% endblock %} </main> <footer> <small>For any inquiries, write to <a href="mailto:{{ config.CONTACT_EMAIL }}"></a><br>. To adjust your emailnotification preferences, log in to your account in a browser and visit<a href="{{ config.web_protocol }}://{{ config.BASE_DOMAIN }}/settings">your user settings</a>.</small>{{ config.mail_footer }}</footer> </body> </html>
email_templates/mail.txt
@@ -3,6 +3,4 @@
--- For any inquiries, write to <{{ config.CONTACT_EMAIL }}>.To adjust your email notification preferences, log in to your account in a browser and visit your user settings at<{{ config.web_protocol }}://{{ config.BASE_DOMAIN }}/settings>.{{ mail_footer_plain }}