diff options
Diffstat (limited to 'source/static/templates')
-rw-r--r-- | source/static/templates/unread.html | 6 |
1 files changed, 3 insertions, 3 deletions
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 += "<h1>Unread article(s)</h1>" - html += """\n<br />\n<a href="/mark_as_read/">Mark articles as read</a>\n<hr />\n""" + html += """\n<br />\n<a href="/mark_as_read/">Mark all articles as read</a>\n<hr />\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 += """<br />\n<a href="/mark_as_read/Feed:%s">Mark all articles from this feed as read</a>\n""" % \ + html += """<br />\n<a href="/mark_as_read/Feed:%s">Mark all as read</a>\n""" % \ (feed["feed_id"],) html += """<hr />\n<a href="/mark_as_read/">Mark articles as read</a>\n""" @@ -73,4 +73,4 @@ import utils html += '<h1>No unread article(s)</h1>\n<br />\n<a href="/fetch/">Why not check for news?</a>' html += """\n<h4><a href="/">All feeds</a></h4>""" %> - ${html}
\ No newline at end of file + ${html} |