%
// Make it possible to override action button color (specify fallback color if no color specified)
if (locals.action && !locals.action.button.color) {
locals.action.button.color = '#48CFAD';
}
%>
<% if (locals.product.logo) { %>
<% } else { %>
<%- product.name %>
<% } %>
|
|
|
|
<%- 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) { %>
<% for (var column in table.data[0]) {%>
width="<%= table.columns.customWidth[column] %>"
<% } %>
<% if(locals.table.columns && locals.table.columns.customAlignment && locals.table.columns.customAlignment[column]) { %>
style="text-align:<%= table.columns.customAlignment[column] %>"
<% } %>
>
<%- column.charAt(0).toUpperCase() + column.slice(1) %>
|
<% } %>
<% for (var i in table.data) {%>
<% for (var column in table.data[i]) {%>
style="text-align:<%= table.columns.customAlignment[column] %>"
<% } %>
>
<%- table.data[i][column] %>
|
<% } %>
<% } %>
<% } %>
|
|
|
<% if (locals.action) { %>
<%- action.instructions %>
|
|
|
<% } %>
<% if (locals.outro) { %>
<% outro.forEach(function (outroItem) { -%>
<%- outroItem %>
<% }) -%>
|
|
<% } %>
|
|
<% if (locals.goToAction) { %>
<% } %>