Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
mpcs
dfss
Commits
23f51623
Commit
23f51623
authored
May 26, 2016
by
Loïck Bonniot
Browse files
[p] Improve mail templates
- Add contract UUID - Fix typos
parent
0d6d907b
Pipeline
#2298
passed with stage
Changes
4
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
dfssp/templates/contract.go
View file @
23f51623
...
...
@@ -12,6 +12,7 @@ Please download the attached file and open it with the DFSS client.
const
contractDetails
=
`Signers :
{{range .Signers}} - {{.Email}}
{{end}}
Contract ID : {{.ID.Hex}}
Contract name : {{.File.Name}}
SHA-512 hash : {{printf "%x" .File.Hash}}
Comment : {{.Comment}}
...
...
dfssp/templates/invitation.go
View file @
23f51623
...
...
@@ -3,8 +3,8 @@ package templates
const
invitation
=
`Dear Sir or Madam,
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
this
adress mail
in order to sign the contract.
Please download the latest version of DFSS an
d
register a new account using
this
mail address
in order to sign the contract.
{{template "contractDetails" .}}
{{template "signature"}}
...
...
dfssp/templates/manager_test.go
View file @
23f51623
...
...
@@ -31,6 +31,7 @@ Signers :
- mail@example.com
- mail2@example.com
Contract ID : `
+
contract
.
ID
.
Hex
()
+
`
Contract name : name.pdf
SHA-512 hash : 010211aa
Comment : comment
...
...
dfssp/templates/verificationMail.go
View file @
23f51623
...
...
@@ -2,7 +2,7 @@ package templates
const
verificationMail
=
`Dear sir or Madam,
You asked to register
t
o the DFSS platform.
You asked to register o
n
the DFSS platform.
Please send us your authentication request with
the following text as token:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment