Fix notifications, which I broke.
This commit sponsored by Denver Gingerich. Thank you!
This commit is contained in:
parent
7949d88a75
commit
29cd702e47
@ -94,6 +94,8 @@ def get_jinja_env(template_loader, locale):
|
|||||||
## but it needs to add stuff to the context. This is THE WRONG WAY TO DO IT
|
## but it needs to add stuff to the context. This is THE WRONG WAY TO DO IT
|
||||||
from mediagoblin import notifications
|
from mediagoblin import notifications
|
||||||
template_env.globals['get_notifications'] = notifications.get_notifications
|
template_env.globals['get_notifications'] = notifications.get_notifications
|
||||||
|
template_env.globals[
|
||||||
|
'get_notification_count'] = notifications.get_notification_count
|
||||||
template_env.globals[
|
template_env.globals[
|
||||||
'get_comment_subscription'] = notifications.get_comment_subscription
|
'get_comment_subscription'] = notifications.get_comment_subscription
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user