From 1b50120f823f493a0ab02cd25b099b7b786bf20c Mon Sep 17 00:00:00 2001 From: Cédric Bonhomme Date: Sun, 2 Feb 2014 10:14:09 +0100 Subject: Mark all articles as read by feed. --- pyaggr3g470r/templates/home.html | 1 + pyaggr3g470r/templates/unread.html | 1 + 2 files changed, 2 insertions(+) (limited to 'pyaggr3g470r/templates') diff --git a/pyaggr3g470r/templates/home.html b/pyaggr3g470r/templates/home.html index 9ea8c01a..25cb5012 100644 --- a/pyaggr3g470r/templates/home.html +++ b/pyaggr3g470r/templates/home.html @@ -14,6 +14,7 @@ {% if feed.enabled %} {% endif %} + {% for number in range(0, feed.articles|length-(feed.articles|length % 3), 3) %} diff --git a/pyaggr3g470r/templates/unread.html b/pyaggr3g470r/templates/unread.html index 41c89a29..9058182c 100644 --- a/pyaggr3g470r/templates/unread.html +++ b/pyaggr3g470r/templates/unread.html @@ -16,6 +16,7 @@ +

{{ feed.articles|length }} unread articles.

-- cgit