aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcedricbonhomme <devnull@localhost>2011-02-21 10:53:41 +0100
committercedricbonhomme <devnull@localhost>2011-02-21 10:53:41 +0100
commit0f47bec3086be94e7c73d1807515775c29e4ad16 (patch)
tree99e2f9e37755b09eee012a217bf2b8a63e27a33e
parentAdded new page (feed). This page is a kind of summary for each feeds. (diff)
downloadnewspipe-0f47bec3086be94e7c73d1807515775c29e4ad16.tar.gz
newspipe-0f47bec3086be94e7c73d1807515775c29e4ad16.tar.bz2
newspipe-0f47bec3086be94e7c73d1807515775c29e4ad16.zip
Added new link (feed summary) on the main page.
-rwxr-xr-xpyAggr3g470r.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/pyAggr3g470r.py b/pyAggr3g470r.py
index 04526dd8..da14dc0a 100755
--- a/pyAggr3g470r.py
+++ b/pyAggr3g470r.py
@@ -194,8 +194,9 @@ class Root:
# some options for the current feed
html += """<a href="/articles/%s">All articles</a>&nbsp;&nbsp;&nbsp;""" % (feed.feed_id,)
- html += """&nbsp;&nbsp;<a href="/mark_as_read/Feed_FromMainPage:%s">Mark all as read</a>""" % (feed.feed_id,)
+ html += """<a href="/feed/%s">Feed summary</a>&nbsp;&nbsp;&nbsp;""" % (feed.feed_id,)
if feed.nb_unread_articles != 0:
+ html += """&nbsp;&nbsp;<a href="/mark_as_read/Feed_FromMainPage:%s">Mark all as read</a>""" % (feed.feed_id,)
html += """&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="/unread/%s" title="Unread article(s)">Unread article(s) (%s)</a>""" % (feed.feed_id, feed.nb_unread_articles)
if feed.mail == "0":
html += """<br />\n<a href="/mail_notification/1:%s" title="By e-mail">Stay tuned</a>""" % (feed.feed_id,)
bgstack15