contract.go 455 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
package templates

const contract = `Dear Sir or Madam,

Someone asked you to sign a contract on the DFSS platform.
Please download the attached file and open it with the DFSS client.

{{template "contractDetails" .}}
{{template "signature"}}
`

const contractDetails = `Signers :
{{range .Signers}}  - {{.Email}}
{{end}}
Loïck Bonniot's avatar
Loïck Bonniot committed
15
Contract ID   : {{.ID.Hex}}
16
Contract name : {{.File.Name}}
17
SHA-512 hash  : {{printf "%x" .File.Hash}}
18
19
Comment       : {{.Comment}}
`