Skip to content

Commit 6961cdc

Browse files
authored
Merge pull request #81 from docusign/fix/fix-ejs-views
Fix EJS views issues
2 parents 73a40f6 + 45e40c2 commit 6961cdc

File tree

77 files changed

+277
-276
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

77 files changed

+277
-276
lines changed

views/pages/admin-examples/eg001CreateUser.ejs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
<% include ../../partials/examplesHead %>
1+
<%- include("../../partials/examplesHead") %>
22

33
<h4>1. Create a new active eSignature user</h4>
44
<p>
55
Demonstrates how to create a new eSignature user and activate their account automatically.
66
</p>
77

8-
<% include ../../partials/docBody %>
8+
<%- include("../../partials/docBody") %>
99

1010
<p>API methods used:
1111
<a target='_blank' rel='noopener noreferrer'
@@ -16,7 +16,7 @@
1616
href="https://developers.docusign.com/docs/admin-api/reference/usermanagement/esignusermanagement/createuser/">eSignUserManagement:createUser</a>.
1717
</p>
1818

19-
<% include ../../partials/gitSource %>
19+
<%- include("../../partials/gitSource") %>
2020

2121
<form class="eg" action="" method="post" data-busy="form">
2222
<div class="form-group">
@@ -70,4 +70,4 @@
7070
<button type="submit" class="btn btn-docu">Submit</button>
7171
</form>
7272

73-
<% include ../../partials/examplesFoot %>
73+
<%- include("../../partials/examplesFoot") %>

views/pages/admin-examples/eg002CreateCLMESignUser.ejs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
<% include ../../partials/examplesHead %>
1+
<%- include("../../partials/examplesHead") %>
22

33
<h4>2. Create a new active user for CLM and eSignature</h4>
44
<p>Demonstrates how to create a new DocuSign user (valid for both CLM and eSignature) and activate their account automatically.</p>
55

6-
<% include ../../partials/docBody %>
6+
<%- include("../../partials/docBody") %>
77

88
<p>
99
API methods used:
@@ -15,7 +15,7 @@
1515
href="https://developers.docusign.com/docs/admin-api/reference/usermanagement/multiproductusermanagement/addorupdateuser/">MultiProductUserManagement:addOrUpdateUser</a>.
1616
</p>
1717

18-
<% include ../../partials/gitSource %>
18+
<%- include("../../partials/gitSource") %>
1919

2020
<form class="eg" action="" method="post" data-busy="form">
2121
<div class="form-group">
@@ -87,4 +87,4 @@
8787
</div>
8888
</form>
8989

90-
<% include ../../partials/examplesFoot.ejs %>
90+
<%- include("../../partials/examplesFoot") %>
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
<% include ../../partials/examplesHead %>
1+
<%- include("../../partials/examplesHead") %>
22

33
<h4>3. Bulk-export user data</h4>
44
<p>
55
Demonstrates how to bulk-export user accounts within an organization into a CSV (comma-separated value) file.
66
</p>
77

8-
<% include ../../partials/docBody %>
8+
<%- include("../../partials/docBody") %>
99

1010
<p>
1111
API methods used:
@@ -15,11 +15,11 @@
1515
href="https://developers.docusign.com/docs/admin-api/reference/bulkoperations/userexport/getuserlistexport/">UserExport:getUserListExport</a>.
1616
</p>
1717

18-
<% include ../../partials/gitSource %>
18+
<%- include("../../partials/gitSource") %>
1919

2020
<form class="eg" action="" method="post" data-busy="form">
2121
<input type="hidden" name="_csrf" value="<%- csrfToken %>">
2222
<button type="submit" class="btn btn-docu">Submit</button>
2323
</form>
2424

25-
<% include ../../partials/examplesFoot %>
25+
<%- include("../../partials/examplesFoot") %>

views/pages/admin-examples/eg004CheckStatus.ejs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<% include ../../partials/genericHead %>
1+
<%- include("../../partials/genericHead") %>
22

33
<% if (locals.status == "completed") { %>
44
<h2><%= h1 %></h2>
@@ -15,4 +15,4 @@
1515
<p>The request has not completed, please refresh this page</p>
1616
<% } %>
1717

18-
<% include ../../partials/genericFoot %>
18+
<%- include("../../partials/genericFoot") %>
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
<% include ../../partials/examplesHead %>
1+
<%- include("../../partials/examplesHead") %>
22

33
<h4>4. Add users via bulk import</h4>
44
<p>
55
Demonstrates how to bulk import users and add user data from an example CSV (comma-separated value) file into a DocuSign Admin organization.
66
</p>
77

8-
<% include ../../partials/docBody %>
8+
<%- include("../../partials/docBody") %>
99

1010
<p>
1111
API methods used:
@@ -15,11 +15,11 @@
1515
href='https://developers.docusign.com/docs/admin-api/reference/bulkoperations/userimport/getbulkuserimportrequest/'>UserImport:getBulkUserImportRequest</a>.
1616
</p>
1717

18-
<% include ../../partials/gitSource %>
18+
<%- include("../../partials/gitSource") %>
1919

2020
<form class="eg" action="" method="post" data-busy="form">
2121
<input type="hidden" name="_csrf" value="<%- csrfToken %>">
2222
<button type="submit" class="btn btn-docu">Submit</button>
2323
</form>
2424

25-
<% include ../../partials/examplesFoot %>
25+
<%- include("../../partials/examplesFoot") %>
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
<% include ../../partials/examplesHead %>
1+
<%- include("../../partials/examplesHead") %>
22

33
<h4>5. Audit users</h4>
44
<p>
55
Demonstrates how to audit the users in your account by retrieving the profiles of users that were modified after a specified date.
66
</p>
77

8-
<% include ../../partials/docBody %>
8+
<%- include("../../partials/docBody") %>
99

1010
<p>API methods used:
1111
<a target="_blank" rel="noopener noreferrer"
@@ -14,11 +14,11 @@
1414
href="https://developers.docusign.com/docs/admin-api/reference/usermanagement/esignusermanagement/getuserprofiles/">eSignUserManagement:getUserProfiles</a>.
1515
</p>
1616

17-
<% include ../../partials/gitSource %>
17+
<%- include("../../partials/gitSource") %>
1818

1919
<form class="eg" action="" method="post" data-busy="form">
2020
<input type="hidden" name="_csrf" value="<%- csrfToken %>">
2121
<button type="submit" class="btn btn-docu">Continue</button>
2222
</form>
2323

24-
<% include ../../partials/examplesFoot %>
24+
<%- include("../../partials/examplesFoot") %>

views/pages/admin-examples/eg006GetUserProfileByEmail.ejs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
1-
<% include ../../partials/examplesHead %>
1+
<%- include("../../partials/examplesHead") %>
22

33
<h4>6. Retrieve the user's DocuSign profile using an email address</h4>
44
<p>
55
Demonstrates how to obtain the user’s DocuSign profile information across all DocuSign accounts by specifying the user’s email address.
66
</p>
77

8-
<% include ../../partials/docBody %>
8+
<%- include("../../partials/docBody") %>
99

1010
<p>API method used:
1111
<a target="_blank" rel='noopener noreferrer'
1212
href="https://developers.docusign.com/docs/admin-api/reference/usermanagement/esignusermanagement/getuserprofiles/">MultiProductUserManagement:getUserDSProfilesByEmail</a>.
1313
</p>
1414

15-
<% include ../../partials/gitSource %>
15+
<%- include("../../partials/gitSource") %>
1616

1717
<form class="eg" action="" method="post" data-busy="form">
1818
<div class="form-group">
@@ -25,4 +25,4 @@
2525
<button type="submit" class="btn btn-docu">Submit</button>
2626
</form>
2727

28-
<% include ../../partials/examplesFoot %>
28+
<%- include("../../partials/examplesFoot") %>

views/pages/admin-examples/eg007GetUserProfileByUserId.ejs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
1-
<% include ../../partials/examplesHead %>
1+
<%- include("../../partials/examplesHead") %>
22

33
<h4>7. Retrieve the user's DocuSign profile using a User ID</h4>
44
<p>
55
Demonstrates how to obtain the user’s DocuSign profile information across all DocuSign accounts by specifying the user’s User ID.
66
</p>
77

8-
<% include ../../partials/docBody %>
8+
<%- include("../../partials/docBody") %>
99

1010
<p>API method used:
1111
<a target="_blank" rel='noopener noreferrer'
1212
href="https://developers.docusign.com/docs/admin-api/reference/usermanagement/esignusermanagement/getuserprofiles/">MultiProductUserManagement:getUserDSProfile</a>.
1313
</p>
1414

15-
<% include ../../partials/gitSource %>
15+
<%- include("../../partials/gitSource") %>
1616

1717
<form class="eg" action="" method="post" data-busy="form">
1818
<div class="form-group">
@@ -25,4 +25,4 @@
2525
<button type="submit" class="btn btn-docu">Submit</button>
2626
</form>
2727

28-
<% include ../../partials/examplesFoot %>
28+
<%- include("../../partials/examplesFoot") %>

views/pages/choose_api.ejs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<% include ../partials/genericHead %>
1+
<%- include("../partials/genericHead") %>
22
<div style="margin:1% 5%;">
33
<h1 class="display-4">Please Choose an API</h1>
44
<p class="lead">
@@ -19,4 +19,4 @@
1919
<hr class="my-4">
2020

2121
</div>
22-
<% include ../partials/genericFoot %>
22+
<%- include("../partials/genericFoot") %>

views/pages/click-examples/eg001CreateClickwrap.ejs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
<% include ../../partials/examplesHead %>
1+
<%- include("../../partials/examplesHead") %>
22

33
<h4>1. Create a clickwrap</h4>
44
<p>
55
Creates a clickwrap that you can embed in your website or app.
66
</p>
77

8-
<% include ../../partials/docBody %>
8+
<%- include("../../partials/docBody") %>
99

1010
<p>API method used:
1111
<a target='_blank'
@@ -15,7 +15,7 @@
1515
</a>
1616
</p>
1717

18-
<% include ../../partials/gitSource %>
18+
<%- include("../../partials/gitSource") %>
1919

2020
<form class="eg" action="" method="post" data-busy="form">
2121
<div class="form-group">
@@ -27,4 +27,4 @@
2727
<button type="submit" class="btn btn-docu">Submit</button>
2828
</form>
2929

30-
<% include ../../partials/examplesFoot %>
30+
<%- include("../../partials/examplesFoot") %>

0 commit comments

Comments
 (0)