app/soc/logic/helper/notifications.py
changeset 930 7e88fba647b1
parent 915 27c656c01591
child 970 8b5611d5b053
equal deleted inserted replaced
929:7431d7770197 930:7e88fba647b1
    68   properties = {'link_id': entity.link_id }
    68   properties = {'link_id': entity.link_id }
    69   to_user = model_logic.user.logic.getForFields(properties, unique=True)
    69   to_user = model_logic.user.logic.getForFields(properties, unique=True)
    70 
    70 
    71   invitation_url = "http://%(host)s%(index)s" % {
    71   invitation_url = "http://%(host)s%(index)s" % {
    72       'host' : os.environ['HTTP_HOST'],
    72       'host' : os.environ['HTTP_HOST'],
    73       'index': redirects.inviteProcessRedirect(entity, None),
    73       'index': redirects.getInviteProcessRedirect(entity, None),
    74       }
    74       }
    75 
    75 
    76   message_properties = {
    76   message_properties = {
    77       'role_verbose' : entity.role_verbose,
    77       'role_verbose' : entity.role_verbose,
    78       'group': entity.scope.name,
    78       'group': entity.scope.name,