diff options
Diffstat (limited to 'pyAggr3g470r.py')
-rwxr-xr-x | pyAggr3g470r.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/pyAggr3g470r.py b/pyAggr3g470r.py index e024b3f2..7812b4b9 100755 --- a/pyAggr3g470r.py +++ b/pyAggr3g470r.py @@ -105,8 +105,9 @@ class Root: html += """<a href="/list_notification"><img src="/css/img/email-follow.png" title="Active e-mail notifications (%s)" /></a>\n""" % \ (self.nb_mail_notifications,) - html += """<a href="/unread/All"><img src="/css/img/email-unread.png" title="Unread article(s): %s" /></a>\n""" % \ - (self.nb_unread_articles,) + if self.nb_unread_articles != 0: + html += """<a href="/unread/All"><img src="/css/img/email-unread.png" title="Unread article(s): %s" /></a>\n""" % \ + (self.nb_unread_articles,) # The main page display all the feeds. |