Skip to content

Commit 90ed8b9

Browse files
Merge pull request #51 from docusign/DEVDOCS-6446
Edited Click Ex1-6 to match standard text
2 parents 337a66b + f824ec6 commit 90ed8b9

File tree

8 files changed

+38
-24
lines changed

8 files changed

+38
-24
lines changed

lib/click/controllers/eg003CreateNewClickwrapVersion.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ eg003CreateNewClickwrapVersion.createController = async (req, res) => {
6161
res.render("pages/example_done", {
6262
title: "Create a new clickwrap version",
6363
h1: "Create a new clickwrap version",
64-
message: `The 2nd version of clickwrap ${results.clickwrapName} has been created.`,
64+
message: `Version ${results.versionNumber} of clickwrap ${results.clickwrapName} has been created.`,
6565
json: JSON.stringify(results)
6666
});
6767
}

lib/click/controllers/eg004ListClickwraps.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,9 +55,9 @@ eg004ListClickwraps.createController = async (req, res) => {
5555
if (results) {
5656
// Save for use by other examples that need an clickwrapId
5757
res.render("pages/example_done", {
58-
title: "List of the clickwraps",
59-
h1: "List of the clickwraps",
60-
message: "Results from the Click::getClickwraps method",
58+
title: "Get a list of clickwraps",
59+
h1: "Get a list of clickwraps",
60+
message: "Results from the ClickWraps::getClickwraps method:",
6161
json: JSON.stringify(results)
6262
});
6363
}

lib/click/controllers/eg005ClickwrapResponses.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -59,9 +59,9 @@ eg005ClickwrapResponses.createController = async (req, res) => {
5959
if (results) {
6060
// Save for use by other examples that need an clickwrapId
6161
res.render("pages/example_done", {
62-
title: "Getting a clickwrap responses",
63-
h1: "Getting a clickwrap responses",
64-
message: "Results from the Click::getClickwraps method",
62+
title: "Get clickwrap responses",
63+
h1: "Get clickwrap responses",
64+
message: "Results from the ClickWraps::getClickwrapAgreements method:",
6565
json: JSON.stringify(results)
6666
});
6767
}

views/pages/click-examples/eg001CreateClickwrap.ejs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
<% include ../../partials/examplesHead %>
22

3-
<h4>1. Creating a clickwrap</h4>
3+
<h4>1. Create a clickwrap</h4>
44
<p>
5-
This example demonstrates how to use the Click API to create a
6-
clickwrap that you can embed in your website or app.
5+
Creates a clickwrap that you can embed in your website or app.
76
</p>
87

98
<% include ../../partials/docBody %>

views/pages/click-examples/eg002ActivateClickwrap.ejs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
<h4>2. Activate a clickwrap</h4>
44
<p>Activates a new clickwrap that you have already created.
5-
By default, new clickwraps are inactive. <br> You must activate
5+
By default, new clickwraps are inactive. You must activate
66
your clickwrap before you can use it.
77
</p>
88

views/pages/click-examples/eg003CreateNewClickwrapVersion.ejs

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
11
<% include ../../partials/examplesHead %>
22

3-
<h4>3. Creating a new clickwrap version</h4>
3+
<h4>3. Create a new clickwrap version</h4>
44
<p>
5-
This example demonstrates how to use the Click API to create a new version
6-
of a clickwrap.<br/>You can specify whether you require users who have
7-
previously accepted the clickwrap to accept the new version when they
8-
return to your website.
5+
Creates a new version of a clickwrap.
6+
</p>
7+
<p>
8+
You can specify whether you require users who have previously accepted the clickwrap
9+
to accept the new version when they return to your website.
910
</p>
1011

1112
<% include ../../partials/docBody %>

views/pages/click-examples/eg004ListClickwraps.ejs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
<% include ../../partials/examplesHead %>
22

3-
<h4>4. Getting a list of clickwraps</h4>
3+
<h4>4. Get a list of clickwraps</h4>
44
<p>
5-
This example demonstrates how to use the Click API to get a list of
6-
clickwraps associated with a specific DocuSign user.
5+
Gets a list of clickwraps associated with a specific DocuSign user.
76
</p>
87

98
<% include ../../partials/docBody %>

views/pages/click-examples/eg005ClickwrapResponses.ejs

Lines changed: 20 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
<% include ../../partials/examplesHead %>
22

3-
<h4>5. Getting clickwrap responses</h4>
3+
<h4>5. Get clickwrap responses</h4>
44
<p>
5-
This example demonstrates how to get user responses to your clickwrap agreements.
5+
Gets user responses to your clickwrap agreements.
66
</p>
77

88
<% include ../../partials/docBody %>
@@ -18,10 +18,25 @@
1818
<% include ../../partials/gitSource %>
1919

2020
<% if (clickwrapOk) { %>
21+
22+
<p>
23+
First, test your clickwrap:
24+
</p>
25+
26+
<ul>
27+
<li>Log in to your developer account and select the <strong>Manage</strong> page.
28+
<li>Select the <strong>Clickwraps</strong> tab.
29+
<li>
30+
In the list of active clickwraps, locate the one you want to test, then click
31+
the dropdown arrow to the right of <strong>COPY CODE</strong> and select <strong>Test Clickwrap</strong>.
32+
</li>
33+
<li>In the Test Clickwrap dialog box, click <strong>TEST CLICKWRAP</strong>.
34+
<li>In the Test Your Clickwrap browser page, enter any string, then click <strong>Test Clickwrap</strong>.
35+
<li>Review your displayed clickwrap and click <strong>AGREE</strong> (or the equivalent button you configured) to complete the test.
36+
</ul>
37+
2138
<p>
22-
The clickwrap you created via example 1 will be queried.<br/>
23-
Please enter a value that uniquely identifies a user, such as an email
24-
address or employee ID
39+
Then enter the same string you used to test your clickwrap in the field below.
2540
</p>
2641
2742
<form class="eg" action="" method="post" data-busy="form">

0 commit comments

Comments
 (0)