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
Shuttleworth foundation
ca-cla-chooser
Commits
07b3c1af
Commit
07b3c1af
authored
Oct 21, 2014
by
Jon Phillips
Browse files
last fields to add signing capability
parent
a0a11c80
Changes
1
Hide whitespace changes
Inline
Side-by-side
js/chooser.js
View file @
07b3c1af
...
@@ -285,12 +285,10 @@ function updateConfigs ()
...
@@ -285,12 +285,10 @@ function updateConfigs ()
/* signer assignment */
/* signer assignment */
if
(
configs
[
"
your-date
"
]
)
if
(
configs
[
"
your-date
"
]
)
{
{
// @TODO fix the formatting
var
ourDate
=
new
Date
(
configs
[
"
your-date
"
]
*
1000
);
// var ourDate = new Date('Y m d', configs["your-date"] );
// console.log('date: ' + ourDate);
$
(
"
#i-tmp-signing-you-date
"
).
html
(
configs
[
"
y
our
-d
ate
"
]
);
$
(
"
#i-tmp-signing-you-date
"
).
html
(
our
D
ate
);
$
(
"
#e-tmp-signing-you-date
"
).
html
(
configs
[
"
y
our
-d
ate
"
]
);
$
(
"
#e-tmp-signing-you-date
"
).
html
(
our
D
ate
);
}
}
if
(
configs
[
"
your-name
"
]
)
if
(
configs
[
"
your-name
"
]
)
{
{
...
@@ -402,12 +400,12 @@ function updateQuery4Form ()
...
@@ -402,12 +400,12 @@ function updateQuery4Form ()
var
signerFmt
=
encodeURIComponent
(
shortUrl
+
var
signerFmt
=
encodeURIComponent
(
shortUrl
+
'
?your-date=@_time&your-name=@fullname&your-title=@title&
'
+
'
?your-date=@_time&your-name=@fullname&your-title=@title&
'
+
'
your-address=@email-address&action=sign-@agreement-type&@u2s
'
);
'
your-address=@email-address&action=sign-@agreement-type&@u2s
'
);
// console.log('signerFmt: ' + signerFmt);
query4form
=
serviceUrl
+
'
/query2form/?
'
+
query4form
=
serviceUrl
+
'
/query2form/?
'
+
'
_replyto=
'
+
projectemail
+
'
&
'
+
'
_replyto=
'
+
projectemail
+
'
&
'
+
'
_subject=Contributor License Agreement E-Signing
'
+
'
&
'
+
'
_subject=Contributor License Agreement E-Signing
'
+
'
&
'
+
'
_body=Fill out the following form, then sign your initials to complete the Contributor License Agreement.
'
+
'
&
'
+
'
_body=Fill out the following form, then sign your initials to complete the Contributor License Agreement.
'
+
'
&
'
+
'
agreement-type[]=individual&agreement-type[]=entity&
'
+
'
fullname=&
'
+
'
fullname=&
'
+
'
title=&
'
+
'
title=&
'
+
'
company=&
'
+
'
company=&
'
+
...
...
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