From cb6a8d8b53bb27755eb9bc040f86a361636d4c6a Mon Sep 17 00:00:00 2001 From: François Schmidts Date: Sun, 8 Jun 2014 17:47:42 +0200 Subject: adding the capacity to mark articles as unread --- pyaggr3g470r/templates/home.html | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'pyaggr3g470r/templates/home.html') diff --git a/pyaggr3g470r/templates/home.html b/pyaggr3g470r/templates/home.html index c1663997..297e0214 100644 --- a/pyaggr3g470r/templates/home.html +++ b/pyaggr3g470r/templates/home.html @@ -25,7 +25,7 @@

{{ feed.title|safe }} {% if feed.nb_unread != 0 %} - {{ feed.nb_unread }} + {{ feed.nb_unread }} {% endif %}

@@ -34,8 +34,9 @@ {% endif %} {% if feed.nb_unread != 0 %} - + {% endif %} +
{% for number in range(0, feed.articles.all()|count-(feed.articles.all()|count % 3), 3) %} -- cgit