Merge pull request #154 from fossunited/fix-invite-email
Fix invite email
This commit is contained in:
@@ -45,7 +45,8 @@ class InviteRequest(Document):
|
|||||||
subject=subject,
|
subject=subject,
|
||||||
header=[subject, "green"],
|
header=[subject, "green"],
|
||||||
template = "lms_invite_request_approved",
|
template = "lms_invite_request_approved",
|
||||||
args=args)
|
args=args,
|
||||||
|
now=True)
|
||||||
|
|
||||||
@frappe.whitelist(allow_guest=True)
|
@frappe.whitelist(allow_guest=True)
|
||||||
def create_invite_request(invite_email):
|
def create_invite_request(invite_email):
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
<div>
|
<div>
|
||||||
{% set site_link = "<a href='" + site_url + "'>" + site_name + "</a>" %}
|
{% set site_link = "<a href='" + site_url + "'>" + site_name + "</a>" %}
|
||||||
<p>{{_("Dear {0},").format(full_name)}}</p>
|
<p>{{_("Hi,")}}</p>
|
||||||
<p>{{_("Welcome to {0}!").format(site_name)}}</p>
|
<p>{{_("Welcome to {0}!").format(site_name)}}</p>
|
||||||
<p>Click on the link below to complete your sign up and set a new password</p>
|
<p>Click on the link below to complete your sign up and set a new password</p>
|
||||||
<p style="margin: 15px 0px;">
|
<p style="margin: 15px 0px;">
|
||||||
|
|||||||
Reference in New Issue
Block a user