app/soc/logic/helper/notifications.py
changeset 759 ed7a7596033e
parent 757 b11cee4ab535
child 784 23eaf3aa19b1
equal deleted inserted replaced
758:59307ec93f1d 759:ed7a7596033e
    79       'group': group_entity.name,
    79       'group': group_entity.name,
    80       'invitation_url': invitation_url,
    80       'invitation_url': invitation_url,
    81       }
    81       }
    82   
    82   
    83   # render the message
    83   # render the message
    84   message = loader.render_to_string('soc/notification/messages/invitation.html', dictionary=messageProperties)
    84   message = loader.render_to_string(
       
    85       'soc/notification/messages/invitation.html', 
       
    86       dictionary=messageProperties)
    85   
    87   
    86   # create the fields for the notification
    88   # create the fields for the notification
    87   fields = { 
    89   fields = { 
    88       'from_user' : current_user_entity,
    90       'from_user' : current_user_entity,
    89       'subject' : DEF_INVITATION_MSG_FMT % {
    91       'subject' : DEF_INVITATION_MSG_FMT % {