mirror of
https://github.com/documize/community.git
synced 2025-07-24 15:49:44 +02:00
Customizable Contact Us link in email notifications
This commit is contained in:
parent
8db452a18b
commit
6e7f3cceaa
9 changed files with 45 additions and 33 deletions
|
@ -35,17 +35,19 @@ func (m *Mailer) ShareSpaceExistingUser(recipient, inviterName, inviterEmail, ur
|
|||
em.ReplyName = inviterName
|
||||
|
||||
parameters := struct {
|
||||
Subject string
|
||||
Inviter string
|
||||
URL string
|
||||
Folder string
|
||||
Intro string
|
||||
Subject string
|
||||
Inviter string
|
||||
URL string
|
||||
Folder string
|
||||
Intro string
|
||||
SenderEmail string
|
||||
}{
|
||||
em.Subject,
|
||||
inviterName,
|
||||
url,
|
||||
folder,
|
||||
intro,
|
||||
m.Config.SenderEmail,
|
||||
}
|
||||
|
||||
html, err := m.ParseTemplate("mail/share-space-existing-user.html", parameters)
|
||||
|
@ -82,17 +84,19 @@ func (m *Mailer) ShareSpaceNewUser(recipient, inviterName, inviterEmail, url, sp
|
|||
em.ReplyName = inviterName
|
||||
|
||||
parameters := struct {
|
||||
Subject string
|
||||
Inviter string
|
||||
URL string
|
||||
Invitation string
|
||||
Folder string
|
||||
Subject string
|
||||
Inviter string
|
||||
URL string
|
||||
Invitation string
|
||||
Folder string
|
||||
SenderEmail string
|
||||
}{
|
||||
em.Subject,
|
||||
inviterName,
|
||||
url,
|
||||
invitationMessage,
|
||||
space,
|
||||
m.Config.SenderEmail,
|
||||
}
|
||||
|
||||
html, err := m.ParseTemplate("mail/share-space-new-user.html", parameters)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue