do not use user.name in email

This commit is contained in:
Son 2021-01-25 21:25:15 +01:00
parent 113dbd1c81
commit 81840e5ba5
22 changed files with 22 additions and 26 deletions

View File

@ -1,7 +1,7 @@
{% extends "base.html" %} {% extends "base.html" %}
{% block content %} {% block content %}
{{ render_text("Hi " + user.name) }} {{ render_text("Hi") }}
{{ render_text("Our most requested feature is finally ready: you can now add several <b>real</b> email addresses into SimpleLogin {{ render_text("Our most requested feature is finally ready: you can now add several <b>real</b> email addresses into SimpleLogin
and choose which one to use when creating aliases!") }} and choose which one to use when creating aliases!") }}

View File

@ -2,7 +2,7 @@ This email is sent to {{ user.email }}.
Unsubscribe from our emails on {{URL}}/dashboard/setting#notification Unsubscribe from our emails on {{URL}}/dashboard/setting#notification
---------------- ----------------
Hi {{user.name}} Hi
Our most requested feature is finally ready: you can now add several *real* email addresses into SimpleLogin Our most requested feature is finally ready: you can now add several *real* email addresses into SimpleLogin
and choose which one to use when creating aliases! and choose which one to use when creating aliases!

View File

@ -1,7 +1,7 @@
{% extends "base.html" %} {% extends "base.html" %}
{% block content %} {% block content %}
{{ render_text("Hi " + user.name) }} {{ render_text("Hi") }}
{% call text() %} {% call text() %}
Son from SimpleLogin here. I hope you are doing well and are staying at home in this difficult time. By the way I'm Son from SimpleLogin here. I hope you are doing well and are staying at home in this difficult time. By the way I'm

View File

@ -2,7 +2,7 @@ This email is sent to {{ user.email }}.
Unsubscribe from our emails on {{URL}}/dashboard/setting#notification Unsubscribe from our emails on {{URL}}/dashboard/setting#notification
---------------- ----------------
Hi {{user.name}} Hi
Son from SimpleLogin here. I hope you are doing well and are staying at home in this difficult time. Son from SimpleLogin here. I hope you are doing well and are staying at home in this difficult time.
By the way I'm writing this newsletter from my couch with my cats proofreading the text :). By the way I'm writing this newsletter from my couch with my cats proofreading the text :).

View File

@ -1,7 +1,7 @@
{% extends "base.html" %} {% extends "base.html" %}
{% block content %} {% block content %}
{{ render_text("Hi " + user.name) }} {{ render_text("Hi") }}
{{ render_text("If you happen to use Gmail, Yahoo, Outlook, etc, do you know these services can read your emails?") }} {{ render_text("If you happen to use Gmail, Yahoo, Outlook, etc, do you know these services can read your emails?") }}
{{ render_text("If you want to keep your emails only readable by you, Pretty Good Privacy (PGP) is maybe the solution.") }} {{ render_text("If you want to keep your emails only readable by you, Pretty Good Privacy (PGP) is maybe the solution.") }}

View File

@ -2,7 +2,7 @@ This email is sent to {{ user.email }}.
Unsubscribe from our emails on {{URL}}/dashboard/setting#notification Unsubscribe from our emails on {{URL}}/dashboard/setting#notification
---------------- ----------------
Hi {{user.name}} Hi
If you happen to use Gmail, Yahoo, Outlook, etc, do you know these services can read your emails? If you happen to use Gmail, Yahoo, Outlook, etc, do you know these services can read your emails?

View File

@ -12,7 +12,7 @@
</td> </td>
</tr> </tr>
{{ render_text("Hi " + user.name) }} {{ render_text("Hi") }}
{{ render_text("If you use Safari on a MacBook or iMac, you should check out our new Safari extension.") }} {{ render_text("If you use Safari on a MacBook or iMac, you should check out our new Safari extension.") }}
{{ render_text('It can be installed on <a href="https://apps.apple.com/app/id1494051017">App Store</a>. Its code is available on <a href="https://github.com/simple-login/mac-app">GitHub</a>.') }} {{ render_text('It can be installed on <a href="https://apps.apple.com/app/id1494051017">App Store</a>. Its code is available on <a href="https://github.com/simple-login/mac-app">GitHub</a>.') }}

View File

@ -2,7 +2,7 @@ This email is sent to {{ user.email }}.
Unsubscribe from our emails on {{URL}}/dashboard/setting#notification Unsubscribe from our emails on {{URL}}/dashboard/setting#notification
---------------- ----------------
Hi {{user.name}} Hi
If you use Safari on a MacBook or iMac, you should check out our new Safari extension. If you use Safari on a MacBook or iMac, you should check out our new Safari extension.

View File

@ -2,7 +2,7 @@ This email is sent to {{ to_email }} and is part of our onboarding series.
Unsubscribe from our emails on {{URL}}/dashboard/setting#notification Unsubscribe from our emails on {{URL}}/dashboard/setting#notification
---------------- ----------------
Hi {{user.name}} Hi
If you want to quickly create aliases without going to SimpleLogin website, you can do that with If you want to quickly create aliases without going to SimpleLogin website, you can do that with
SimpleLogin Chrome (or other Chromium-based browsers like Brave or Vivaldi), Firefox and Safari extension. SimpleLogin Chrome (or other Chromium-based browsers like Brave or Vivaldi), Firefox and Safari extension.

View File

@ -2,7 +2,7 @@ This email is sent to {{ to_email }} and is part of our onboarding series.
Unsubscribe from our emails on {{URL}}/dashboard/setting#notification Unsubscribe from our emails on {{URL}}/dashboard/setting#notification
---------------- ----------------
Hi {{user.name}} Hi
If you have several email addresses, e.g. Gmail for work and Protonmail for personal stuffs, you can add them into SimpleLogin and create aliases for them. If you have several email addresses, e.g. Gmail for work and Protonmail for personal stuffs, you can add them into SimpleLogin and create aliases for them.

View File

@ -2,7 +2,7 @@ This email is sent to {{ to_email }} and is part of our onboarding series.
Unsubscribe from our emails on {{URL}}/dashboard/setting#notification Unsubscribe from our emails on {{URL}}/dashboard/setting#notification
---------------- ----------------
Hi {{user.name}} Hi
If you happen to use Gmail, Yahoo, Outlook, etc, do you know these services can read your emails? If you happen to use Gmail, Yahoo, Outlook, etc, do you know these services can read your emails?

View File

@ -2,7 +2,7 @@ This email is sent to {{ to_email }} and is part of our onboarding series.
Unsubscribe from our emails on {{URL}}/dashboard/setting#notification Unsubscribe from our emails on {{URL}}/dashboard/setting#notification
---------------- ----------------
Hi {{user.name}} Hi
Do you know you can send an email to anyone from your alias? Do you know you can send an email to anyone from your alias?
This below Youtube video walks you quickly through the steps: This below Youtube video walks you quickly through the steps:

View File

@ -1,7 +1,7 @@
{% extends "base.html" %} {% extends "base.html" %}
{% block content %} {% block content %}
{{ render_text("Hi " + (user.name or "")) }} {{ render_text("Hi")) }}
{% call text() %} {% call text() %}
Your email cannot be sent to <b>{{ contact.email }}</b> from your alias <b>{{ alias.email }}</b>. Your email cannot be sent to <b>{{ contact.email }}</b> from your alias <b>{{ alias.email }}</b>.

View File

@ -1,4 +1,4 @@
Hi {{user.name or ""}} Hi
Your email cannot be sent to {{contact.email}} from your alias {{alias.email}}. Your email cannot be sent to {{contact.email}} from your alias {{alias.email}}.

View File

@ -1,11 +1,7 @@
{% extends "base.html" %} {% extends "base.html" %}
{% block content %} {% block content %}
{% if name %} {{ render_text("Hi") }}
{{ render_text("Hi " + user.name + ",") }}
{% else %}
{{ render_text("Hi,") }}
{% endif %}
{{ render_text("Your subscription will end on " + next_bill_date + ".") }} {{ render_text("Your subscription will end on " + next_bill_date + ".") }}

View File

@ -1,4 +1,4 @@
Hi {{user.name}} Hi
Your subscription will end on {{ next_bill_date }}. Your subscription will end on {{ next_bill_date }}.

View File

@ -1,7 +1,7 @@
{% extends "base.html" %} {% extends "base.html" %}
{% block content %} {% block content %}
{{ render_text("Hi " + user.name) }} {{ render_text("Hi") }}
{{ render_text("Your alias <b>"+ alias +"</b> has been disabled successfully.") }} {{ render_text("Your alias <b>"+ alias +"</b> has been disabled successfully.") }}
{{ render_text("If this is a mistake, you can re-enable the alias on the dashboard.") }} {{ render_text("If this is a mistake, you can re-enable the alias on the dashboard.") }}
{{ render_button("Enable Alias", enable_alias_url) }} {{ render_button("Enable Alias", enable_alias_url) }}

View File

@ -1,4 +1,4 @@
Hi {{user.name}} Hi
Your alias {{alias}} has been disabled successfully. Your alias {{alias}} has been disabled successfully.

View File

@ -1,7 +1,7 @@
{% extends "base.html" %} {% extends "base.html" %}
{% block content %} {% block content %}
{{ render_text("Hi " + user.name) }} {{ render_text("Hi") }}
{{ render_text("You recently requested to change mailbox <b>"+ mailbox_email +"</b> to <b>" + mailbox_new_email + "</b>.") }} {{ render_text("You recently requested to change mailbox <b>"+ mailbox_email +"</b> to <b>" + mailbox_new_email + "</b>.") }}
{{ render_text("To confirm, please click on the button below.") }} {{ render_text("To confirm, please click on the button below.") }}
{{ render_button("Confirm mailbox change", link) }} {{ render_button("Confirm mailbox change", link) }}

View File

@ -1,4 +1,4 @@
Hi {{user.name}} Hi
You recently requested to change mailbox {{mailbox_email}} to {{mailbox_new_email}} You recently requested to change mailbox {{mailbox_email}} to {{mailbox_new_email}}

View File

@ -1,7 +1,7 @@
{% extends "base.html" %} {% extends "base.html" %}
{% block content %} {% block content %}
{{ render_text("Hi " + user.name) }} {{ render_text("Hi") }}
{{ render_text("You have added <b>"+ mailbox_email +"</b> as an additional mailbox.") }} {{ render_text("You have added <b>"+ mailbox_email +"</b> as an additional mailbox.") }}
{{ render_text("To confirm, please click on the button below.") }} {{ render_text("To confirm, please click on the button below.") }}
{{ render_button("Confirm email", link) }} {{ render_button("Confirm email", link) }}

View File

@ -1,4 +1,4 @@
Hi {{user.name}} Hi
You have added {{mailbox_email}} as an additional mailbox. You have added {{mailbox_email}} as an additional mailbox.