X-Git-Url: https://git.openstreetmap.org./osqa.git/blobdiff_plain/65779f741add23006d878bf17340ce230463ef6f..232bdf7ce8ec8393618d75de43d4c2dcfa68cfcf:/forum/settings/email.py?ds=sidebyside diff --git a/forum/settings/email.py b/forum/settings/email.py index b83631e..583ab0d 100644 --- a/forum/settings/email.py +++ b/forum/settings/email.py @@ -45,7 +45,7 @@ required=False)) EMAIL_SUBJECT_PREFIX = Setting('EMAIL_SUBJECT_PREFIX', '', EMAIL_SET, dict( 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 easily set up a filter on theyr email clients."), +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 easily set up a filter on their email clients."), required=False)) EMAIL_FOOTER_TEXT = Setting(u'EMAIL_FOOTER_TEXT', '', EMAIL_SET, dict( @@ -68,6 +68,14 @@ label = _("Email Link Style"), help_text = _("A valid css string to be used to style email links (the A tag)."), required=False)) +SEND_DIGEST_ONLY_TO_ACTIVE_USERS = Setting('SEND_DIGEST_ONLY_TO_ACTIVE_USERS', True, EMAIL_SET, dict( +label = _("Send digest only to active users"), +help_text = _("If checked the daily digest won't be sent to users that have been suspended."), +required=False)) +SEND_DIGEST_ONLY_TO_VALIDATED_USERS = Setting('SEND_DIGEST_ONLY_TO_VALIDATED_USERS', True, EMAIL_SET, dict( +label = _("Send digest only to validated users"), +help_text = _("If checked the daily digest won't be sent to users that haven't validated their emails."), +required=False)) EMAIL_DIGEST_FLAG = Setting('EMAIL_DIGEST_FLAG', None)