From 11d24ceb6b0eecdbe55dbf65c223fab4cd342969 Mon Sep 17 00:00:00 2001 From: Cédric Bonhomme Date: Sun, 20 Jan 2013 10:14:00 +0100 Subject: Minor bugfix in index.html template: feed['mail'] == True if mail notification is active for a feed. --- source/templates/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/templates/index.html') diff --git a/source/templates/index.html b/source/templates/index.html index 87ba7815..9539f4dc 100644 --- a/source/templates/index.html +++ b/source/templates/index.html @@ -97,7 +97,7 @@ import utils if mongo.nb_unread_articles(feed["feed_id"]) != 0: html += """  Mark all as read""" % (feed["feed_id"],) html += """     Unread article(s) (%s)""" % (feed["feed_id"], mongo.nb_unread_articles(feed["feed_id"])) - if feed["mail"] == "0": + if feed["mail"] == False: html += """
\nStay tuned""" % (feed["feed_id"],) else: html += """
\nStop staying tuned""" % (feed["feed_id"],) -- cgit