From b2f7962cda357250c9a3d03103501292b32dc82b Mon Sep 17 00:00:00 2001 From: Cédric Bonhomme Date: Mon, 11 Feb 2013 23:27:55 +0100 Subject: Added number of favorites articles --- source/templates/favorites.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source') diff --git a/source/templates/favorites.html b/source/templates/favorites.html index 5eba8a3c..4dd17b6b 100644 --- a/source/templates/favorites.html +++ b/source/templates/favorites.html @@ -4,7 +4,7 @@ import utils %>
-

Your favorites articles

+

Your favorites articles (${sum([elem.count() for elem in articles.values()])})

%for feed in feeds: <% new_feed_section = True @@ -27,4 +27,4 @@ import utils ${article["article_date"].strftime('%Y-%m-%d %H:%M')} - ${article["article_title"][:150]}${description}
%endfor - %endfor \ No newline at end of file + %endfor -- cgit