diff options
author | cedricbonhomme <devnull@localhost> | 2010-09-23 10:03:14 +0200 |
---|---|---|
committer | cedricbonhomme <devnull@localhost> | 2010-09-23 10:03:14 +0200 |
commit | a515838d606e28c74a40c5077e7740e94cef8574 (patch) | |
tree | d37ea3e54d3ef72218bc113d6164b46d4bd28d66 /pyAggr3g470r.py | |
parent | Added more comments. Cleaner code. (diff) | |
download | newspipe-a515838d606e28c74a40c5077e7740e94cef8574.tar.gz newspipe-a515838d606e28c74a40c5077e7740e94cef8574.tar.bz2 newspipe-a515838d606e28c74a40c5077e7740e94cef8574.zip |
Added a new icon for unread article(s).
Diffstat (limited to 'pyAggr3g470r.py')
-rwxr-xr-x | pyAggr3g470r.py | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/pyAggr3g470r.py b/pyAggr3g470r.py index 1d530137..e024b3f2 100755 --- a/pyAggr3g470r.py +++ b/pyAggr3g470r.py @@ -49,8 +49,10 @@ path = {'/css/style.css': {'tools.staticfile.on': True, \ 'tools.staticfile.filename':utils.path+'/css/img/heart.png'}, \ '/css/img/heart_open.png': {'tools.staticfile.on': True, \ 'tools.staticfile.filename':utils.path+'/css/img/heart_open.png'}, \ - '/css/img/email.png': {'tools.staticfile.on': True, \ - 'tools.staticfile.filename':utils.path+'/css/img/email.png'}, \ + '/css/img/email-unread.png': {'tools.staticfile.on': True, \ + 'tools.staticfile.filename':utils.path+'/css/img/email-unread.png'}, \ + '/css/img/email-follow.png': {'tools.staticfile.on': True, \ + 'tools.staticfile.filename':utils.path+'/css/img/email-follow.png'}, \ '/css/img/cross.png': {'tools.staticfile.on': True, \ 'tools.staticfile.filename':utils.path+'/css/img/cross.png'}, \ '/var/qrcode': {'tools.staticdir.on': True, @@ -100,10 +102,10 @@ class Root: html += """<a href="/list_favorites/"><img src="/css/img/heart.png" title="Your favorites (%s)" /></a>\n""" % \ (self.nb_favorites,) - html += """<a href="/list_notification"><img src="/css/img/email.png" title="Active e-mail notifications (%s)" /></a>\n""" % \ + 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">Unread article(s): %s</a>\n""" % \ + html += """<a href="/unread/All"><img src="/css/img/email-unread.png" title="Unread article(s): %s" /></a>\n""" % \ (self.nb_unread_articles,) |