mirror of
https://github.com/documize/community.git
synced 2025-07-23 15:19:42 +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
|
@ -37,15 +37,17 @@ func (m *Mailer) DocumentApprover(recipient, inviterName, inviterEmail, url, doc
|
|||
em.ReplyName = inviterName
|
||||
|
||||
parameters := struct {
|
||||
Subject string
|
||||
Inviter string
|
||||
URL string
|
||||
Document string
|
||||
Subject string
|
||||
Inviter string
|
||||
URL string
|
||||
Document string
|
||||
SenderEmail string
|
||||
}{
|
||||
em.Subject,
|
||||
inviterName,
|
||||
url,
|
||||
document,
|
||||
m.Config.SenderEmail,
|
||||
}
|
||||
|
||||
html, err := m.ParseTemplate("mail/document-approver.html", parameters)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue