From c6fe5ef7d8e2c42066e0f096d4d1c90a356c5b94 Mon Sep 17 00:00:00 2001 From: jordan Date: Tue, 15 Mar 2011 23:50:48 +0000 Subject: [PATCH] merging notification-config -> trunk, changes from revision 695, 696, 697, 698, 699, 702 git-svn-id: http://svn.osqa.net/svnroot/osqa/trunk@846 0cfe37f9-358a-4d5e-be75-b63607b5c754 --- .../default/templates/auth/complete.html | 11 ------ .../users/subscriptions_settings.html | 36 +++++-------------- forum/templatetags/email_tags.py | 1 + 3 files changed, 9 insertions(+), 39 deletions(-) diff --git a/forum/skins/default/templates/auth/complete.html b/forum/skins/default/templates/auth/complete.html index 20880ec..5b293eb 100644 --- a/forum/skins/default/templates/auth/complete.html +++ b/forum/skins/default/templates/auth/complete.html @@ -74,14 +74,6 @@ {{ form1.recaptcha }} {% endif %} -

{% trans "receive updates motivational blurb" %}

-
- {{email_feeds_form.subscribe}} - {% if email_feeds_form.errors %} -

{% trans "please select one of the options above" %}

- {% endif %} -
-

{% trans "Tag filter tool will be your right panel, once you log in." %}

@@ -95,9 +87,6 @@

{{ form2.username }}

{{ form2.password }}

(Optional) receive updates by email - only sent when there are any.

-
- {{email_feeds_form.subscribe}} -
diff --git a/forum/skins/default/templates/users/subscriptions_settings.html b/forum/skins/default/templates/users/subscriptions_settings.html index 9c88602..6232d13 100644 --- a/forum/skins/default/templates/users/subscriptions_settings.html +++ b/forum/skins/default/templates/users/subscriptions_settings.html @@ -7,15 +7,6 @@ {% blocktrans %} Here you can decide which types of notifications you wish to receive, and their frequency.
{% endblocktrans %} - {% if notificatons_on %} - {% blocktrans %} - Currently you have notifications enabled. You can always stop all notifications without losing your settings and restart them afterwards.
- {% endblocktrans %} - {% else %} - {% blocktrans %} - Currently you have notifications disabled. You can enable them by clicking on the Start notifications button below.
- {% endblocktrans %} - {% endif %}

@@ -50,17 +41,6 @@ {% trans "Auto subscribe me to:" %} - - - {{ form.questions_asked }}{% trans "Questions I ask" %} - - - {{ form.questions_answered }}{% trans "Questions I answer" %} - - - {{ form.questions_commented }}{% trans "Questions I comment" %} - - {{ form.questions_viewed }}{% trans "Questions I view" %} @@ -101,27 +81,27 @@ + + +
- {% trans "More:" %} + {% trans "Daily Digest:" %}
- {{ form.notify_reply_to_comments }}{% trans "Notify me when someone replies to one of my comments on any post using the
@username
notation" %} + {{ form.send_digest }}{% trans "Send me the daily digest with information about the site activity" %}
- {{ form.send_digest }}{% trans "Send me the daily digest with information about the site activity" %} + {% trans "Notify When I'm Discussed:" %} +
+ {{ form.notify_reply_to_comments }}{% trans "Notify me when someone replies to one of my comments on any post using the
@username
notation" %}
- {% if notificatons_on %} - - {% else %} - - {% endif %}
diff --git a/forum/templatetags/email_tags.py b/forum/templatetags/email_tags.py index 63b3a8d..0699f15 100644 --- a/forum/templatetags/email_tags.py +++ b/forum/templatetags/email_tags.py @@ -2,6 +2,7 @@ from django import template from forum import settings from forum.utils.mail import create_and_send_mail_messages from django.template.defaulttags import url as default_url +import logging register = template.Library() -- 2.39.5