aboutsummaryrefslogtreecommitdiff
path: root/source/templates/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'source/templates/index.html')
-rw-r--r--source/templates/index.html2
1 files changed, 1 insertions, 1 deletions
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 += """&nbsp;&nbsp;<a href="/mark_as_read/Feed_FromMainPage:%s">Mark all as read</a>""" % (feed["feed_id"],)
html += """&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="/unread/%s" title="Unread article(s)">Unread article(s) (%s)</a>""" % (feed["feed_id"], mongo.nb_unread_articles(feed["feed_id"]))
- if feed["mail"] == "0":
+ if feed["mail"] == False:
html += """<br />\n<a href="/mail_notification/1:%s" title="By e-mail">Stay tuned</a>""" % (feed["feed_id"],)
else:
html += """<br />\n<a href="/mail_notification/0:%s" title="By e-mail">Stop staying tuned</a>""" % (feed["feed_id"],)
bgstack15