aboutsummaryrefslogtreecommitdiff
path: root/source/static
diff options
context:
space:
mode:
authorCédric Bonhomme <kimble.mandel@gmail.com>2013-06-07 14:41:35 +0200
committerCédric Bonhomme <kimble.mandel@gmail.com>2013-06-07 14:41:35 +0200
commitf0d59fe0dc1b85ddb2f752fa25ddbb861cfdbe55 (patch)
treebbbd11cfb857451d29a0073758ddffd34c405a5f /source/static
parentDocumentation is now using th 'howto' style. (diff)
downloadnewspipe-f0d59fe0dc1b85ddb2f752fa25ddbb861cfdbe55.tar.gz
newspipe-f0d59fe0dc1b85ddb2f752fa25ddbb861cfdbe55.tar.bz2
newspipe-f0d59fe0dc1b85ddb2f752fa25ddbb861cfdbe55.zip
Minor changes to the tempate of the /unread page.
Diffstat (limited to 'source/static')
-rw-r--r--source/static/templates/unread.html6
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}
bgstack15