mirror of
https://github.com/wassname/talk.git
synced 2026-06-30 22:21:27 +08:00
Move templates to a folder for translations.
This commit is contained in:
+2
-2
@@ -18,7 +18,7 @@ const templates = {
|
||||
data: {}
|
||||
};
|
||||
|
||||
// load the temlates per request during development
|
||||
// load the templates per request during development
|
||||
templates.render = (name, format = 'txt', context) => new Promise((resolve, reject) => {
|
||||
|
||||
// If we are in production mode, check the view cache.
|
||||
@@ -50,7 +50,7 @@ templates.render = (name, format = 'txt', context) => new Promise((resolve, reje
|
||||
|
||||
return resolve(view(context));
|
||||
});
|
||||
});
|
||||
}); // ends templates.render
|
||||
|
||||
const options = {
|
||||
host: SMTP_HOST,
|
||||
|
||||
@@ -0,0 +1,3 @@
|
||||
<p>Un correo de confirmación ha sido pedido para esta cuenta: <b><%= email %></b>.</p>
|
||||
<p>To confirm the account, please visit the following link: <a href="<%= rootURL %>/admin/confirm-email#<%= token %>">Confirm Email</a></p>
|
||||
<p>If you did not request this, you can safely ignore this email.</p>
|
||||
@@ -0,0 +1,9 @@
|
||||
A email confirmation has been requested for the following account:
|
||||
|
||||
<%= email %>
|
||||
|
||||
To confirm the account, please visit the following link:
|
||||
|
||||
<%= rootURL %>/confirm/endpoint#<%= token %>
|
||||
|
||||
If you did not request this, you can safely ignore this email.
|
||||
@@ -0,0 +1,3 @@
|
||||
<p>A email confirmation has been requested for the following account: <b><%= email %></b>.</p>
|
||||
<p>To confirm the account, please visit the following link: <a href="<%= rootURL %>/admin/confirm-email#<%= token %>">Confirm Email</a></p>
|
||||
<p>If you did not request this, you can safely ignore this email.</p>
|
||||
@@ -0,0 +1,9 @@
|
||||
A email confirmation has been requested for the following account:
|
||||
|
||||
<%= email %>
|
||||
|
||||
To confirm the account, please visit the following link:
|
||||
|
||||
<%= rootURL %>/confirm/endpoint#<%= token %>
|
||||
|
||||
If you did not request this, you can safely ignore this email.
|
||||
@@ -0,0 +1 @@
|
||||
<%= body %>
|
||||
@@ -0,0 +1 @@
|
||||
<%= body %>
|
||||
@@ -0,0 +1 @@
|
||||
<%= body %>
|
||||
@@ -0,0 +1 @@
|
||||
<%= body %>
|
||||
@@ -0,0 +1,2 @@
|
||||
<p>We received a request to reset your password. If you did not request this change, you can ignore this email.<br />
|
||||
If you did, <a href="<%= rootURL %>/admin/password-reset#<%= token %>">please click here to reset password</a>.</p>
|
||||
@@ -0,0 +1,5 @@
|
||||
We received a request to reset your password, click here to reset your password:
|
||||
|
||||
<%= rootURL %>/admin/password-reset#<%= token %>
|
||||
|
||||
If you did not request this change, you can ignore this email.
|
||||
@@ -0,0 +1,2 @@
|
||||
<p>We received a request to reset your password. If you did not request this change, you can ignore this email.<br />
|
||||
If you did, <a href="<%= rootURL %>/admin/password-reset#<%= token %>">please click here to reset password</a>.</p>
|
||||
@@ -0,0 +1,5 @@
|
||||
We received a request to reset your password, click here to reset your password:
|
||||
|
||||
<%= rootURL %>/admin/password-reset#<%= token %>
|
||||
|
||||
If you did not request this change, you can ignore this email.
|
||||
@@ -0,0 +1 @@
|
||||
<%= body.replace(/\n/g, '<br />') %>
|
||||
@@ -0,0 +1 @@
|
||||
<%= body %>
|
||||
@@ -0,0 +1 @@
|
||||
<%= body.replace(/\n/g, '<br />') %>
|
||||
@@ -0,0 +1 @@
|
||||
<%= body %>
|
||||
Reference in New Issue
Block a user