Revision f9aea9c8 snf-astakos-app/astakos/im/functions.py
b/snf-astakos-app/astakos/im/functions.py | ||
---|---|---|
163 | 163 |
return _send_admin_notification(template_name, dictionary, subject=subject) |
164 | 164 |
|
165 | 165 |
|
166 |
def send_helpdesk_notification(user, template_name='im/account_notification.txt'):
|
|
166 |
def send_helpdesk_notification(user, template_name='im/helpdesk_notification.txt'):
|
|
167 | 167 |
""" |
168 | 168 |
Send email to DEFAULT_CONTACT_EMAIL to notify for a new user activation. |
169 | 169 |
|
... | ... | |
275 | 275 |
logger.log(LOGGING_LEVEL, msg) |
276 | 276 |
|
277 | 277 |
|
278 |
def activate(user, email_template_name='im/welcome_email.txt', |
|
279 |
helpdesk_email_template_name='im/helpdesk_notification.txt', verify_email=False): |
|
278 |
def activate( |
|
279 |
user, |
|
280 |
email_template_name='im/welcome_email.txt', |
|
281 |
helpdesk_email_template_name='im/helpdesk_notification.txt', |
|
282 |
verify_email=False |
|
283 |
): |
|
280 | 284 |
""" |
281 | 285 |
Activates the specific user and sends email. |
282 | 286 |
|
Also available in: Unified diff