aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcedricbonhomme <devnull@localhost>2010-09-06 19:12:11 +0200
committercedricbonhomme <devnull@localhost>2010-09-06 19:12:11 +0200
commit3943ee7b3a463f8718fa66761d679a209d07c303 (patch)
tree7df6b97af9ca357aba417002843264333c6cee65
parentMinor improvement of the page of unread articles. (diff)
downloadnewspipe-3943ee7b3a463f8718fa66761d679a209d07c303.tar.gz
newspipe-3943ee7b3a463f8718fa66761d679a209d07c303.tar.bz2
newspipe-3943ee7b3a463f8718fa66761d679a209d07c303.zip
And an other minor improvement...
-rwxr-xr-xpyAggr3g470r.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/pyAggr3g470r.py b/pyAggr3g470r.py
index f49e806c..d78da76b 100755
--- a/pyAggr3g470r.py
+++ b/pyAggr3g470r.py
@@ -527,6 +527,7 @@ class Root:
html += """<div class="left inner">"""
if feed_id == "All":
html += "<h1>Unread article(s)</h1>"
+ html += """\n<br />\n<a href="/mark_as_read/All:">Mark articles as read</a>\n<hr />\n"""
for rss_feed_id in self.feeds.keys():
new_feed_section = True
nb_unread = 0
@@ -551,7 +552,7 @@ class Root:
article[2].encode('utf-8'))
if nb_unread == self.feeds[rss_feed_id][1]:
- html += """<br /><a href="/mark_as_read/Feed:%s">Mark all articles from this feed as read</a>""" % \
+ html += """<br />\n<a href="/mark_as_read/Feed:%s">Mark all articles from this feed as read</a>\n""" % \
(rss_feed_id,)
html += """<hr />\n<a href="/mark_as_read/All:">Mark articles as read</a>\n"""
else:
bgstack15