From f2f8e30c49416a441588e168d580aa48bbbff4e9 Mon Sep 17 00:00:00 2001 From: Cédric Bonhomme Date: Wed, 10 Apr 2013 17:57:23 +0200 Subject: Added a link to the page of unread article in the /feed page. --- source/static/templates/feed.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/static') 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
Address of the site: ${feed['site_link']}.

-

${(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]}.

+

${(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]}.

%else:

No articles for the feed ${feed['feed_title']}.
-- cgit