Commit 3ee03370 authored by Loïck Bonniot's avatar Loïck Bonniot

Merge branch 'add-uuid-in-contract-signature-invitation-17' into 'master'

[p] Improve mail templates

- Add contract UUID
- Fix typos

See merge request !90
parents 0d6d907b 23f51623
Pipeline #2299 passed with stages
...@@ -12,6 +12,7 @@ Please download the attached file and open it with the DFSS client. ...@@ -12,6 +12,7 @@ Please download the attached file and open it with the DFSS client.
const contractDetails = `Signers : const contractDetails = `Signers :
{{range .Signers}} - {{.Email}} {{range .Signers}} - {{.Email}}
{{end}} {{end}}
Contract ID : {{.ID.Hex}}
Contract name : {{.File.Name}} Contract name : {{.File.Name}}
SHA-512 hash : {{printf "%x" .File.Hash}} SHA-512 hash : {{printf "%x" .File.Hash}}
Comment : {{.Comment}} Comment : {{.Comment}}
......
...@@ -3,8 +3,8 @@ package templates ...@@ -3,8 +3,8 @@ package templates
const invitation = `Dear Sir or Madam, const invitation = `Dear Sir or Madam,
Someone invited you to sign a multiparty contract using the DFSS platform. Someone invited you to sign a multiparty contract using the DFSS platform.
Please download the latest version of DFSS an register a new account using Please download the latest version of DFSS and register a new account using
this adress mail in order to sign the contract. this mail address in order to sign the contract.
{{template "contractDetails" .}} {{template "contractDetails" .}}
{{template "signature"}} {{template "signature"}}
......
...@@ -31,6 +31,7 @@ Signers : ...@@ -31,6 +31,7 @@ Signers :
- mail@example.com - mail@example.com
- mail2@example.com - mail2@example.com
Contract ID : ` + contract.ID.Hex() + `
Contract name : name.pdf Contract name : name.pdf
SHA-512 hash : 010211aa SHA-512 hash : 010211aa
Comment : comment Comment : comment
......
...@@ -2,7 +2,7 @@ package templates ...@@ -2,7 +2,7 @@ package templates
const verificationMail = `Dear sir or Madam, const verificationMail = `Dear sir or Madam,
You asked to register to the DFSS platform. You asked to register on the DFSS platform.
Please send us your authentication request with Please send us your authentication request with
the following text as token: the following text as token:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment