Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
D
dfss
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
7
Issues
7
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
mpcs
dfss
Commits
23f51623
Commit
23f51623
authored
May 26, 2016
by
Loïck Bonniot
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[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
Showing
4 changed files
with
5 additions
and
3 deletions
+5
-3
dfssp/templates/contract.go
dfssp/templates/contract.go
+1
-0
dfssp/templates/invitation.go
dfssp/templates/invitation.go
+2
-2
dfssp/templates/manager_test.go
dfssp/templates/manager_test.go
+1
-0
dfssp/templates/verificationMail.go
dfssp/templates/verificationMail.go
+1
-1
No files found.
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
to
the DFSS platform.
You asked to register
on
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