From 52603c19ca2017b022db5ab6692f642169f97180 Mon Sep 17 00:00:00 2001 From: Cédric Bonhomme Date: Mon, 28 Oct 2013 01:12:08 +0100 Subject: tests for /unread page. --- pyaggr3g470r/templates/unread.html | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 pyaggr3g470r/templates/unread.html (limited to 'pyaggr3g470r/templates/unread.html') diff --git a/pyaggr3g470r/templates/unread.html b/pyaggr3g470r/templates/unread.html new file mode 100644 index 00000000..0344263f --- /dev/null +++ b/pyaggr3g470r/templates/unread.html @@ -0,0 +1,25 @@ + {% extends "layout.html" %} +{% block content %} +
+ {% for feed in feeds %} +
+
+

{{ feed.title }}

+ +
+
+ {% for number in range(0, feed.articles|length-2, 3) %} +
+ {% for n in range(number, number+3) %} +
+ {% if feed.articles[n].readed %}

{% else %}

{% endif %} + {{ feed.articles[n].title }}

+ {% if feed.articles[n].readed %}

{% else %}{% endif %} +
{{ feed.articles[n].date }}
+
+ {% endfor %} +
+ {% endfor %} + {% endfor %} +
+{% endblock %} \ No newline at end of file -- cgit