From f0d59fe0dc1b85ddb2f752fa25ddbb861cfdbe55 Mon Sep 17 00:00:00 2001 From: Cédric Bonhomme Date: Fri, 7 Jun 2013 14:41:35 +0200 Subject: Minor changes to the tempate of the /unread page. --- source/static/templates/unread.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'source/static/templates') diff --git a/source/static/templates/unread.html b/source/static/templates/unread.html index d37d3034..93df53e7 100644 --- a/source/static/templates/unread.html +++ b/source/static/templates/unread.html @@ -11,7 +11,7 @@ import utils # List unread articles of all the database if feed_id == "": html += "

Unread article(s)

" - html += """\n
\nMark articles as read\n
\n""" + html += """\n
\nMark all articles as read\n
\n""" for feed in feeds: new_feed_section = True nb_unread = 0 @@ -38,7 +38,7 @@ import utils (feed["feed_id"], article["article_id"], article["article_title"][:150], description) if nb_unread == mongo.nb_unread_articles(feed["feed_id"]): - html += """
\nMark all articles from this feed as read\n""" % \ + html += """
\nMark all as read\n""" % \ (feed["feed_id"],) html += """
\nMark articles as read\n""" @@ -73,4 +73,4 @@ import utils html += '

No unread article(s)

\n
\nWhy not check for news?' html += """\n

All feeds

""" %> - ${html} \ No newline at end of file + ${html} -- cgit