]> git.openstreetmap.org Git - osqa.git/blobdiff - forum/settings/email.py
OSQA-706, send daily digest only to users that are active and have validated their...
[osqa.git] / forum / settings / email.py
index e934d30a4ac9b52e0b2e37ea3deff06f94d524cd..583ab0d42f24d23fccbba88c3b216cbe56d7997e 100644 (file)
@@ -68,6 +68,14 @@ label = _("Email Link Style"),
 help_text = _("A valid css string to be used to style email links (the A tag)."),\r
 required=False))\r
 \r
+SEND_DIGEST_ONLY_TO_ACTIVE_USERS = Setting('SEND_DIGEST_ONLY_TO_ACTIVE_USERS', True, EMAIL_SET, dict(\r
+label = _("Send digest only to active users"),\r
+help_text = _("If checked the daily digest won't be sent to users that have been suspended."),\r
+required=False))\r
 \r
+SEND_DIGEST_ONLY_TO_VALIDATED_USERS = Setting('SEND_DIGEST_ONLY_TO_VALIDATED_USERS', True, EMAIL_SET, dict(\r
+label = _("Send digest only to validated users"),\r
+help_text = _("If checked the daily digest won't be sent to users that haven't validated their emails."),\r
+required=False))\r
 \r
 EMAIL_DIGEST_FLAG = Setting('EMAIL_DIGEST_FLAG', None)\r