From 4416583f64b500c29cb5bfbb79b10a6d5501e350 Mon Sep 17 00:00:00 2001 From: Cédric Bonhomme Date: Thu, 15 Aug 2013 00:51:59 +0200 Subject: Updated index.html template. --- source/static/templates/index.html | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'source') diff --git a/source/static/templates/index.html b/source/static/templates/index.html index f4cada50..f86544ef 100644 --- a/source/static/templates/index.html +++ b/source/static/templates/index.html @@ -96,12 +96,12 @@ import utils html += """Feed summary   """ % (feed["feed_id"],) html += """

\n""" % (feed["feed_id"],) 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"])) + html += """  Mark all as read""" + html += """     %s unread article(s)""" % (feed["feed_id"], mongo.nb_unread_articles(feed["feed_id"])) if feed["mail"] == False: - html += """
\nStay tuned""" % (feed["feed_id"],) + html += """
\nEnable email notifications""" % (feed["feed_id"],) else: - html += """
\nStop staying tuned""" % (feed["feed_id"],) + html += """
\nDisable email notifications""" % (feed["feed_id"],) html += """

Top

\n""" %> ${html} -- cgit