diff options
author | Cédric Bonhomme <kimble.mandel@gmail.com> | 2013-03-19 14:00:46 +0100 |
---|---|---|
committer | Cédric Bonhomme <kimble.mandel@gmail.com> | 2013-03-19 14:00:46 +0100 |
commit | b7fd7b15968e3a29e75d479a88c8cd9e66c4e194 (patch) | |
tree | e103675b5674c8187768781d63f88a1adbe53e74 /source/pyAggr3g470r.py | |
parent | MongoDB index. (diff) | |
download | newspipe-b7fd7b15968e3a29e75d479a88c8cd9e66c4e194.tar.gz newspipe-b7fd7b15968e3a29e75d479a88c8cd9e66c4e194.tar.bz2 newspipe-b7fd7b15968e3a29e75d479a88c8cd9e66c4e194.zip |
Added new views: subscriptions in order to list subscribed feeds.
Diffstat (limited to 'source/pyAggr3g470r.py')
-rwxr-xr-x | source/pyAggr3g470r.py | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/source/pyAggr3g470r.py b/source/pyAggr3g470r.py index cc5c7d82..b68c8969 100755 --- a/source/pyAggr3g470r.py +++ b/source/pyAggr3g470r.py @@ -405,6 +405,17 @@ class pyAggr3g470r(object): like.exposed = True @auth.require() + def subscriptions(self): + """ + List all active e-mail notifications. + """ + feeds = self.mongo.get_all_feeds() + tmpl = lookup.get_template("subscriptions.html") + return tmpl.render(feeds=feeds) + + subscriptions.exposed = True + + @auth.require() def favorites(self): """ List of favorites articles |