Commits

Cédric Bonhomme committed 91a40d9

Added number of favorites articles

  • Participants
  • Parent commits 250f58e

Comments (0)

Files changed (1)

File source/templates/favorites.html

 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
 
             ${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
+    %endfor