aboutsummaryrefslogtreecommitdiff
path: root/pyaggr3g470r/views.py
diff options
context:
space:
mode:
authorCédric Bonhomme <cedric@cedricbonhomme.org>2014-04-24 07:36:03 +0200
committerCédric Bonhomme <cedric@cedricbonhomme.org>2014-04-24 07:36:03 +0200
commit8574113cfd194a0481f3538d2541dc98aec082e4 (patch)
tree2260744dbc67a59ec52c1decf0822d2ea1ffa2b6 /pyaggr3g470r/views.py
parentMinor changes to the admin/user template. (diff)
downloadnewspipe-8574113cfd194a0481f3538d2541dc98aec082e4.tar.gz
newspipe-8574113cfd194a0481f3538d2541dc98aec082e4.tar.bz2
newspipe-8574113cfd194a0481f3538d2541dc98aec082e4.zip
Updated /management template.
Diffstat (limited to 'pyaggr3g470r/views.py')
-rw-r--r--pyaggr3g470r/views.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pyaggr3g470r/views.py b/pyaggr3g470r/views.py
index 72fd4e97..514d1920 100644
--- a/pyaggr3g470r/views.py
+++ b/pyaggr3g470r/views.py
@@ -488,7 +488,7 @@ def management():
nb_feeds = len(user.feeds.all())
nb_articles = len(Article.query.filter(Article.user_id == g.user.id).all())
nb_unread_articles = len(Article.query.filter(Article.user_id == g.user.id, Article.readed == False).all())
- return render_template('management.html', form=form, \
+ return render_template('management.html', user=user, form=form, \
nb_feeds=nb_feeds, nb_articles=nb_articles, nb_unread_articles=nb_unread_articles, \
not_on_heroku = not conf.ON_HEROKU)
bgstack15