Webmail for accept invitation
This commit is contained in:
parent
a6449c6962
commit
b9d0f28a76
6
pages/email/accept.html
Normal file
6
pages/email/accept.html
Normal file
@ -0,0 +1,6 @@
|
||||
<h2>Accept Invitation</h2>
|
||||
|
||||
<p>Please visit this link below to accept the invitation.</p>
|
||||
<a href="${accept}" class="button">
|
||||
Accept
|
||||
</a>
|
@ -77,3 +77,18 @@ class webmail():
|
||||
)
|
||||
)
|
||||
}
|
||||
|
||||
def invitation(self, APIADDR, params, data):
|
||||
return {
|
||||
"subject" : f"{globalvar.title} invitation",
|
||||
"text" : f"Please visit this link to accept the invitation: {data['accept']}",
|
||||
"html" : Template(params["mako"]["email"]['index']).render(
|
||||
title = globalvar.title,
|
||||
header = globalvar.title,
|
||||
copyright = globalvar.copyright,
|
||||
container = Template(params["mako"]["email"]['container']).render(
|
||||
header = "One more step to complete your invitation!",
|
||||
accept = data['accept' ]
|
||||
)
|
||||
)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user