roundabout,
created on Monday, 24 June 2024, 15:35:54 (1719243354),
received on Wednesday, 31 July 2024, 06:54:49 (1722408889)
Author identity: vlad <vlad.muntoiu@gmail.com>
5d8dbbe3bdf18bd58b610a0ef28733ac42840a13
config.py
@@ -133,6 +133,9 @@ def match_icon(name):
return "simple-icons:git"
www_protocol = f"http{'s' if suggest_https else ''}"
url_prefix = f"{www_protocol}://{BASE_DOMAIN}" + (f":{port}" if port not in {80, 443} else "")
footer = f"""
<x-hbox>
<a href="/help">Help</a>
@@ -154,23 +157,19 @@ footer = f"""
</p>
"""
mail_footer = """
mail_footer = f"""
<small>
For any inquiries, write to <a href="mailto:{{ config.CONTACT_EMAIL }}"></a><br>. To adjust your email
For any inquiries, write to <a href="mailto:{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>.
<a href="{www_protocol}://{BASE_DOMAIN}/settings">your user settings</a>.
</small>
"""
mail_header = """
<img src="{{ config.web_protocol }}://{{ config.BASE_DOMAIN }}/static/logo.svg" width="48">
mail_header = f"""
"""
mail_footer_plain = """
For any inquiries, write to <{{ config.CONTACT_EMAIL }}>.
mail_footer_plain = f"""
For any inquiries, write to <{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}://{BASE_DOMAIN}/settings>.
"""
www_protocol = f"http{'s' if suggest_https else ''}"
url_prefix = f"{www_protocol}://{BASE_DOMAIN}" + (f":{port}" if port not in {80, 443} else "")