From 4b59d40ba6754c3a50474dc43fd93a74b3577dc2 Mon Sep 17 00:00:00 2001 From: Cédric Bonhomme Date: Sun, 13 Oct 2013 16:01:11 +0200 Subject: fixed bug in /articles page. --- pyaggr3g470r/templates/article.html | 1 + pyaggr3g470r/templates/articles.html | 10 ++++++++++ 2 files changed, 11 insertions(+) (limited to 'pyaggr3g470r/templates') diff --git a/pyaggr3g470r/templates/article.html b/pyaggr3g470r/templates/article.html index 9c4fe287..28c53714 100644 --- a/pyaggr3g470r/templates/article.html +++ b/pyaggr3g470r/templates/article.html @@ -3,6 +3,7 @@

{{ article.title }}

+

{{ article.link }}

{{ article.date }}
diff --git a/pyaggr3g470r/templates/articles.html b/pyaggr3g470r/templates/articles.html index d98d1f80..146769ac 100644 --- a/pyaggr3g470r/templates/articles.html +++ b/pyaggr3g470r/templates/articles.html @@ -13,5 +13,15 @@ {% endfor %}
{% endfor %} + {% if feed.articles|length % 3 !=0 %} +
+
+ {% if feed.articles[feed.articles|length-1].readed %}

{% else %}

{% endif %} + {{ feed.articles[feed.articles|length-1].title }}

+ {% if feed.articles[feed.articles|length-1].readed %}

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