diff options
author | Christopher Allan Webber <cwebber@dustycloud.org> | 2013-08-14 15:57:58 -0500 |
---|---|---|
committer | Christopher Allan Webber <cwebber@dustycloud.org> | 2013-08-14 15:57:58 -0500 |
commit | 29cd702e4776811a96c3c088bd9ba8fc6f9176f0 (patch) | |
tree | cf26d483904985d1509546c5068697a8680b60ba /mediagoblin/tools/template.py | |
parent | 7949d88a751e52a2e0aef42e4801e17283556467 (diff) | |
download | mediagoblin-29cd702e4776811a96c3c088bd9ba8fc6f9176f0.tar.lz mediagoblin-29cd702e4776811a96c3c088bd9ba8fc6f9176f0.tar.xz mediagoblin-29cd702e4776811a96c3c088bd9ba8fc6f9176f0.zip |
Fix notifications, which I broke.
This commit sponsored by Denver Gingerich. Thank you!
Diffstat (limited to 'mediagoblin/tools/template.py')
-rw-r--r-- | mediagoblin/tools/template.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/mediagoblin/tools/template.py b/mediagoblin/tools/template.py index 3cc058c9..fa290611 100644 --- a/mediagoblin/tools/template.py +++ b/mediagoblin/tools/template.py @@ -95,6 +95,8 @@ def get_jinja_env(template_loader, locale): from mediagoblin import notifications template_env.globals['get_notifications'] = notifications.get_notifications template_env.globals[ + 'get_notification_count'] = notifications.get_notification_count + template_env.globals[ 'get_comment_subscription'] = notifications.get_comment_subscription if exists(locale): |