From 6f23971c2ae3b926c4714cbe5ae1fc7263d7133b Mon Sep 17 00:00:00 2001 From: Cédric Bonhomme Date: Tue, 22 Jan 2013 11:13:35 +0100 Subject: The management page indicates if e-mail notification is disabled. --- source/pyAggr3g470r.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'source/pyAggr3g470r.py') 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 -- cgit