Allow users to invite other users to events

This commit is contained in:
2018-07-09 17:16:47 +02:00
parent 6274543206
commit 17cca9380f
4 changed files with 109 additions and 4 deletions

View File

@@ -64,9 +64,13 @@ class NotificationAction(Enum):
#: A user followed another
follow = 1
#: A user has been invited to an event
invite = 2
NOTIFICATION_ACTION_MESSAGES = {
NotificationAction.follow: (_('%(actor)s followed you'), _('%(actor)s followed %(item)s'))
NotificationAction.follow: (_('%(actor)s followed you'), _('%(actor)s followed %(item)s')),
NotificationAction.invite: (None, _('%(actor)s invited you to %(item)s')),
}