adapt email to take into account empty user name

This commit is contained in:
Son NK 2020-01-11 22:43:17 +01:00
parent 97136d025e
commit 7b40de89d5
10 changed files with 10 additions and 10 deletions

View File

@ -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) }}

View File

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

View File

@ -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.") }}

View File

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

View File

@ -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, Im 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.') }}

View File

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

View File

@ -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) }}

View File

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

View File

@ -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 %}

View File

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