From e37a40b0cbc029e18226c1c35d2e0f3fb1ce8888 Mon Sep 17 00:00:00 2001 From: Cédric Bonhomme Date: Sat, 9 Aug 2014 23:50:30 +0200 Subject: When displaying all articles (unread + read) titles of unread articles are emphasized in bold. --- pyaggr3g470r/templates/home.html | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'pyaggr3g470r/templates/home.html') diff --git a/pyaggr3g470r/templates/home.html b/pyaggr3g470r/templates/home.html index 239a57fd..551b2d72 100644 --- a/pyaggr3g470r/templates/home.html +++ b/pyaggr3g470r/templates/home.html @@ -95,7 +95,11 @@ {% for article in articles %} {{ article.source.title|safe }} - {{ article.title|safe }} + + {% if filter_ == 'all' and article.readed == False %}{% endif %} + {{ article.title|safe }} + {% if filter_ == 'all' and article.readed == False %}{% endif %} + {{ article.date|datetime }} @@ -108,6 +112,7 @@ {% else %} + {% if filter_ == 'all' %}{% endif %} {% endif %} -- cgit