<% if (locals.title) { %>
<%- title %>
<% } %>
<% if (locals.intro) { %>
<% intro.forEach(function (introItem) { -%>
<%- introItem %>
<% }) -%>
<% } %>
<% if (locals.dictionary) { %>
<% for (item in dictionary) { -%>
- <%- item.charAt(0).toUpperCase() + item.slice(1) %>:
- <%- dictionary[item] %>
<% } -%>
<% } %>
<% if (locals.table) { %>
<% table.forEach(function (tableItem, i) { -%>
<%- tableItem.title %>
<% for (var column in tableItem.data[0]) {%>
width="<%= tableItem.columns.customWidth[column] %>"
<% } %>
<% if(tableItem.columns && tableItem.columns.customAlignment && tableItem.columns.customAlignment[column]) { %>
style="text-align:<%= tableItem.columns.customAlignment[column] %>"
<% } %>
>
<%- column.charAt(0).toUpperCase() + column.slice(1) %>
|
<% } %>
<% for (var i in tableItem.data) {%>
<% for (var column in tableItem.data[i]) {%>
style="text-align:<%= tableItem.columns.customAlignment[column] %>"
<% } %>
>
<%- tableItem.data[i][column] %>
|
<% } %>
<% } %>
|
<% }) %>
<% } %>
<% if (locals.action.length !== 0) { %>
<% action.forEach(function (actionItem) { -%>
<%- actionItem.instructions %>
<% actionItem.button.forEach(function (actionButton) { -%>
<%- actionButton.text %>
|
<% }) -%>
<% }) -%>
<% } %>
<% if (locals.goToAction) { %>
<% } %>
<% if (locals.outro) { %>
<% outro.forEach(function (outroItem) { -%>
<%- outroItem %>
<% }) -%>
<% } %>
<% if (signature) { %>
<%- signature %>,
<%- product.name %>
<% } %>
|