Commits

Cédric Bonhomme  committed 6c6337e

Added a link to the page of unread article in the /feed page.

  • Participants
  • Parent commits 8291bdd

Comments (0)

Files changed (1)

File source/static/templates/feed.html

         <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 />