diff options
author | cedricbonhomme <devnull@localhost> | 2010-11-24 11:42:31 +0100 |
---|---|---|
committer | cedricbonhomme <devnull@localhost> | 2010-11-24 11:42:31 +0100 |
commit | 47ebc2bc3e01456550e854057027f090f6dffc9c (patch) | |
tree | 2d13ce56088a0c8e471dd2afb9d998bc3033df23 | |
parent | Input modification: autocomplete, maxlength. (diff) | |
download | newspipe-47ebc2bc3e01456550e854057027f090f6dffc9c.tar.gz newspipe-47ebc2bc3e01456550e854057027f090f6dffc9c.tar.bz2 newspipe-47ebc2bc3e01456550e854057027f090f6dffc9c.zip |
Hide 'mark as read button' when useless.
-rwxr-xr-x | pyAggr3g470r.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pyAggr3g470r.py b/pyAggr3g470r.py index 9b9dae86..2e037d6a 100755 --- a/pyAggr3g470r.py +++ b/pyAggr3g470r.py @@ -140,8 +140,8 @@ class Root: (self.nb_mail_notifications,) html += ' ' - html += '<a href="/mark_as_read/All"><img src="/css/img/mark-as-read.png" title="Mark articles as read" /></a>\n' if self.nb_unread_articles != 0: + html += '<a href="/mark_as_read/All"><img src="/css/img/mark-as-read.png" title="Mark articles as read" /></a>\n' html += """<a href="/unread/All"><img src="/css/img/unread.png" title="Unread article(s): %s" /></a>\n""" % \ (self.nb_unread_articles,) html += '<a href="/fetch/"><img src="/css/img/check-news.png" title="Check for news" /></a>\n' |