aboutsummaryrefslogtreecommitdiff
path: root/source/static
diff options
context:
space:
mode:
authorCédric Bonhomme <kimble.mandel@gmail.com>2013-08-15 00:51:59 +0200
committerCédric Bonhomme <kimble.mandel@gmail.com>2013-08-15 00:51:59 +0200
commit4416583f64b500c29cb5bfbb79b10a6d5501e350 (patch)
tree2816cf027384346ed4765e1713889324f404ae96 /source/static
parentUpdated documentation. (diff)
downloadnewspipe-4416583f64b500c29cb5bfbb79b10a6d5501e350.tar.gz
newspipe-4416583f64b500c29cb5bfbb79b10a6d5501e350.tar.bz2
newspipe-4416583f64b500c29cb5bfbb79b10a6d5501e350.zip
Updated index.html template.
Diffstat (limited to 'source/static')
-rw-r--r--source/static/templates/index.html8
1 files changed, 4 insertions, 4 deletions
diff --git a/source/static/templates/index.html b/source/static/templates/index.html
index f4cada50..f86544ef 100644
--- a/source/static/templates/index.html
+++ b/source/static/templates/index.html
@@ -96,12 +96,12 @@ import utils
html += """<a href="/feed/%s">Feed summary</a>&nbsp;&nbsp;&nbsp;""" % (feed["feed_id"],)
html += """<div class="right"><h2><a href="/fetch/%s"><img src="/static/img/check-news.png" title="Check this feed for news" /></a></h2></div>\n""" % (feed["feed_id"],)
if mongo.nb_unread_articles(feed["feed_id"]) != 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"], mongo.nb_unread_articles(feed["feed_id"]))
+ html += """&nbsp;&nbsp;<a href="/mark_as_read/">Mark all as read</a>"""
+ html += """&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="/unread/%s">%s unread article(s)</a>""" % (feed["feed_id"], mongo.nb_unread_articles(feed["feed_id"]))
if feed["mail"] == False:
- html += """<br />\n<a href="/mail_notification/1:%s" title="By e-mail">Stay tuned</a>""" % (feed["feed_id"],)
+ html += """<br />\n<a href="/mail_notification/1:%s" title="By e-mail">Enable email notifications</a>""" % (feed["feed_id"],)
else:
- html += """<br />\n<a href="/mail_notification/0:%s" title="By e-mail">Stop staying tuned</a>""" % (feed["feed_id"],)
+ html += """<br />\n<a href="/mail_notification/0:%s" title="By e-mail">Disable email notifications</a>""" % (feed["feed_id"],)
html += """<h4><a href="/#top">Top</a></h4>\n"""
%>
${html}
bgstack15