From 5b0be6a9da610a6fd89a120d37cfe94f606ee04a Mon Sep 17 00:00:00 2001 From: Cédric Bonhomme Date: Fri, 23 May 2014 14:17:08 +0200 Subject: Only display count when there are unread articles. --- pyaggr3g470r/templates/home.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyaggr3g470r/templates/home.html b/pyaggr3g470r/templates/home.html index b254d38d..6bcd08fb 100644 --- a/pyaggr3g470r/templates/home.html +++ b/pyaggr3g470r/templates/home.html @@ -7,7 +7,7 @@ {% for feed in result|sort(attribute="title") %}
  • - {{ unread[feed.id] }} + {% if unread[feed.id] != 0 %}{{ unread[feed.id] }}{% endif %} {{ feed.title|safe }}
  • -- cgit