Bladeren bron

adapt email to take into account empty user name

Son NK 5 jaren geleden
bovenliggende
commit
7b40de89d5

+ 1 - 1
templates/emails/activation.html

@@ -1,7 +1,7 @@
 {% extends "base.html" %}
 
 {% block content %}
-  {{ render_text("Hi " + name + ",") }}
+  {{ render_text("Hi " + name) }}
   {{ render_text("Thank you for choosing SimpleLogin.") }}
   {{ render_text("To get started, please confirm that <b>" + email + "</b> is your email address by clicking on the button below or use this link " + activation_link + " within 1 hour.") }}
   {{ render_button("Verify", activation_link) }}

+ 1 - 1
templates/emails/activation.txt

@@ -1,4 +1,4 @@
-Hi {{name}},
+Hi {{name}}
 
 Thank you for choosing SimpleLogin.
 

+ 1 - 1
templates/emails/change-email.html

@@ -1,7 +1,7 @@
 {% extends "base.html" %}
 
 {% block content %}
-  {{ render_text("Hi " + name + ",") }}
+  {{ render_text("Hi " + name) }}
   {{ render_text("You have asked to change your email to: <br><b>"+ new_email +"</b>.") }}
   {{ render_text("Your current email is: <br>" + current_email + ".") }}
   {{ render_text("To confirm, please click on the button below or use this link: <br> " + link + "<br> within 12 hours.") }}

+ 1 - 1
templates/emails/change-email.txt

@@ -1,4 +1,4 @@
-Hi {{name}},
+Hi {{name}}
 
 You have asked to change your email to {{new_email}}.
 

+ 1 - 1
templates/emails/new-app.html

@@ -1,7 +1,7 @@
 {% extends "base.html" %}
 
 {% block content %}
-  {{ render_text("Hi " + name + ",") }}
+  {{ render_text("Hi " + name) }}
   {{ render_text("This is Son, SimpleLogin Founder 😊.") }}
   {{ render_text("Even though I lead the company, I’m the *product person* and the user experience you get from our product means a lot to me.") }}
   {{ render_text('Our users and developers love SimpleLogin and its simplicity (hence the "simple" in the name 😉), but if there\'s anything that\'s bugging you, even the smallest of issues that could be done better, I want to hear about it - so hit the reply button.') }}

+ 1 - 1
templates/emails/new-app.txt

@@ -1,4 +1,4 @@
-Hi {{name}},
+Hi {{name}}
 
 This is Son, SimpleLogin Founder 😊.
 

+ 1 - 1
templates/emails/reset-password.html

@@ -1,7 +1,7 @@
 {% extends "base.html" %}
 
 {% block content %}
-  {{ render_text("Hi " + name + ",") }}
+  {{ render_text("Hi " + name) }}
   {{ render_text("You have asked to change your password.") }}
   {{ render_text("To confirm, please click on the button below or use this link " + reset_password_link + " within 1 hour.") }}
   {{ render_button("Reset password", reset_password_link) }}

+ 1 - 1
templates/emails/reset-password.txt

@@ -1,4 +1,4 @@
-Hi {{name}},
+Hi {{name}}
 
 To reset or change your password, please click on this link:
 

+ 1 - 1
templates/emails/test-email.html

@@ -1,7 +1,7 @@
 {% extends "base.html" %}
 
 {% block content %}
-  {{ render_text("Hi " + name + ",") }}
+  {{ render_text("Hi " + name) }}
   {{ render_text("This is a test to make sure that you receive emails sent to your alias <b>" + alias + "</b>.") }}
   {{ render_text("If you have any questions, feel free to reply to this email.") }}
 {% endblock %}

+ 1 - 1
templates/emails/test-email.txt

@@ -1,4 +1,4 @@
-Hi {{name}}!
+Hi {{name}}
 
 This is a test to make sure that you receive emails sent to your alias {{alias}}.