aboutsummaryrefslogtreecommitdiff
path: root/source/pyAggr3g470r.py
diff options
context:
space:
mode:
authorCédric Bonhomme <kimble.mandel@gmail.com>2013-01-22 11:13:35 +0100
committerCédric Bonhomme <kimble.mandel@gmail.com>2013-01-22 11:13:35 +0100
commit6f23971c2ae3b926c4714cbe5ae1fc7263d7133b (patch)
treef6c37b8c35a058efb92d8d945438ab5f2960a202 /source/pyAggr3g470r.py
parentImprovement in the /feed view. (diff)
downloadnewspipe-6f23971c2ae3b926c4714cbe5ae1fc7263d7133b.tar.gz
newspipe-6f23971c2ae3b926c4714cbe5ae1fc7263d7133b.tar.bz2
newspipe-6f23971c2ae3b926c4714cbe5ae1fc7263d7133b.zip
The management page indicates if e-mail notification is disabled.
Diffstat (limited to 'source/pyAggr3g470r.py')
-rwxr-xr-xsource/pyAggr3g470r.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/pyAggr3g470r.py b/source/pyAggr3g470r.py
index fc463367..33507adc 100755
--- a/source/pyAggr3g470r.py
+++ b/source/pyAggr3g470r.py
@@ -138,7 +138,8 @@ class pyAggr3g470r(object):
tmpl = lookup.get_template("management.html")
return tmpl.render(feeds=feeds, nb_mail_notifications=nb_mail_notifications, \
nb_favorites=nb_favorites, nb_articles=nb_articles, \
- nb_unread_articles=nb_unread_articles)
+ nb_unread_articles=nb_unread_articles, \
+ mail_notification_enabled=conf.MAIL_ENABLED)
management.exposed = True
bgstack15