X-Git-Url: https://git.openstreetmap.org./osqa.git/blobdiff_plain/f32577466e18584c0adb9e9845a0f50faa5db777..addd0bf2ea80fc54002d1593dc59537e88e3c980:/forum/settings/email.py diff --git a/forum/settings/email.py b/forum/settings/email.py index d1a46c4..1a673b2 100644 --- a/forum/settings/email.py +++ b/forum/settings/email.py @@ -40,4 +40,26 @@ label = _("Email subject prefix"), help_text = _("Every email sent through your website will have the subject prefixed by this string. It's usually a good idea to have such a prefix so your users can easilly set up a filter on theyr email clients."), required=False)) -EMAIL_DIGEST_CONTROL = Setting('EMAIL_DIGEST_CONTROL', None) +EMAIL_FOOTER_TEXT = Setting(u'EMAIL_FOOTER_TEXT', '', EMAIL_SET, dict( +label = _("Email Footer Text"), +help_text = _("Email footer text, usually \"CAN SPAM\" compliance, or the physical address of the organization running the website. See this Wikipedia article for more info."), +required=False)) + +EMAIL_BORDER_COLOR = Setting('EMAIL_BORDER_COLOR', '#e5ebf8', EMAIL_SET, dict( +label = _("Email Border color"), +help_text = _("The outter border color of the email base template"), +required=False)) + +EMAIL_PARAGRAPH_STYLE = Setting('EMAIL_PARAGRAPH_STYLE', "color:#333333;font-family:'helvetica neue', arial, Helvetica, sans-serif;line-height:18px;font-size:14px;margin-top:10px;", EMAIL_SET, dict( +label = _("Email Paragraph style"), +help_text = _("A valid css string to be used to style email paragraphs (the P tag)."), +required=False)) + +EMAIL_ANCHOR_STYLE = Setting('EMAIL_ANCHOR_STYLE', "text-decoration:none;color:#3060a8;font-weight:bold;", EMAIL_SET, dict( +label = _("Email link style"), +help_text = _("A valid css string to be used to style email links (the A tag)."), +required=False)) + + + +EMAIL_DIGEST_FLAG = Setting('EMAIL_DIGEST_FLAG', None)