diff options
author | Cédric Bonhomme <kimble.mandel@gmail.com> | 2013-04-10 17:57:23 +0200 |
---|---|---|
committer | Cédric Bonhomme <kimble.mandel@gmail.com> | 2013-04-10 17:57:23 +0200 |
commit | f2f8e30c49416a441588e168d580aa48bbbff4e9 (patch) | |
tree | 034498b0c32573c23aa4da6db915bd6e882edeea /source | |
parent | Updated README + doc: typo (diff) | |
download | newspipe-f2f8e30c49416a441588e168d580aa48bbbff4e9.tar.gz newspipe-f2f8e30c49416a441588e168d580aa48bbbff4e9.tar.bz2 newspipe-f2f8e30c49416a441588e168d580aa48bbbff4e9.zip |
Added a link to the page of unread article in the /feed page.
Diffstat (limited to 'source')
-rw-r--r-- | source/static/templates/feed.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/static/templates/feed.html b/source/static/templates/feed.html index bcc1ec6c..7746c9e2 100644 --- a/source/static/templates/feed.html +++ b/source/static/templates/feed.html @@ -12,7 +12,7 @@ import utils <br /> Address of the site: <a href="${feed['site_link']}">${feed['site_link']}</a>.</p> - <p>${(nb_unread_articles_feed == 0 and ["All articles are read"] or [str(nb_unread_articles_feed) + " unread article" + (nb_unread_articles_feed == 1 and [""] or ["s"])[0]])[0]}.</p> + <p>${(nb_unread_articles_feed == 0 and ["All articles are read"] or ['<a href="/unread/'+feed["feed_id"] + ' ">'+str(nb_unread_articles_feed)+'</a>' + ' unread article' + (nb_unread_articles_feed == 1 and [""] or ["s"])[0]])[0]}.</p> %else: <p>No articles for the feed <b>${feed['feed_title']}</b>. <br /> |