aboutsummaryrefslogtreecommitdiff
path: root/source/templates
diff options
context:
space:
mode:
authorCédric Bonhomme <kimble.mandel@gmail.com>2013-02-11 23:27:55 +0100
committerCédric Bonhomme <kimble.mandel@gmail.com>2013-02-11 23:27:55 +0100
commitb2f7962cda357250c9a3d03103501292b32dc82b (patch)
treeaa12ad9179782b2f94bc016bfd626bd47de16ef5 /source/templates
parentsync (diff)
downloadnewspipe-b2f7962cda357250c9a3d03103501292b32dc82b.tar.gz
newspipe-b2f7962cda357250c9a3d03103501292b32dc82b.tar.bz2
newspipe-b2f7962cda357250c9a3d03103501292b32dc82b.zip
Added number of favorites articles
Diffstat (limited to 'source/templates')
-rw-r--r--source/templates/favorites.html4
1 files changed, 2 insertions, 2 deletions
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
%>
<div class="left inner">
- <h1>Your favorites articles</h1>
+ <h1>Your favorites articles (${sum([elem.count() for elem in articles.values()])})</h1>
%for feed in feeds:
<%
new_feed_section = True
@@ -27,4 +27,4 @@ import utils
${article["article_date"].strftime('%Y-%m-%d %H:%M')} - <a class="tooltip" href="/article/${feed['feed_id']}:${article['article_id']}" rel="noreferrer" target="_blank">${article["article_title"][:150]}<span class="classic">${description}</span></a><br />
%endfor
- %endfor \ No newline at end of file
+ %endfor
bgstack15