Skip to content
This repository has been archived by the owner on Nov 7, 2019. It is now read-only.

Commit

Permalink
Merge 376604c into 10eadc2
Browse files Browse the repository at this point in the history
  • Loading branch information
fuzzylogic2000 committed Apr 29, 2019
2 parents 10eadc2 + 376604c commit 721eb01
Show file tree
Hide file tree
Showing 7 changed files with 13 additions and 14 deletions.
3 changes: 1 addition & 2 deletions liqd_product/apps/users/adapters.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,8 @@ def get_email_confirmation_url(self, request, emailconfirmation):
return url

def send_mail(self, template_prefix, email, context):
user = context['user']
return UserAccountEmail.send(
user,
email,
template_name=template_prefix,
**context
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@

{% block headline %}Ihre E-Mail Adresse auf {{ site.name }}{% endblock %}

{% block content %}diese E-Mail Adresse soll dem Benutzerkonto "{{ receiver.username }}" auf der Beteiligungsplattform {{ site.name }} hinzugefügt werden. Bitte bestätigen Sie dazu Ihre E-Mail Adresse. Wenn Sie diese E-Mail Adresse nicht angelegt haben, können Sie diese Nachricht ignorieren. Wir werden Ihnen keine weiteren E-Mails senden.{% endblock %}
{% block content %}diese E-Mail Adresse soll dem Benutzerkonto "{{ user.username }}" auf der Beteiligungsplattform {{ site.name }} hinzugefügt werden. Bitte bestätigen Sie dazu Ihre E-Mail Adresse. Wenn Sie diese E-Mail Adresse nicht angelegt haben, können Sie diese Nachricht ignorieren. Wir werden Ihnen keine weiteren E-Mails senden.{% endblock %}

{% block cta_url %}{{ activate_url }}{% endblock %}
{% block cta_label %}Bestätigen Sie Ihre E-Mail Adresse{% endblock %}

{% block reason %}Diese E-Mail wurde an {{ receiver.email }} gesendet. Bei Fragen können Sie sich gerne unter {{ contact_email }} an uns wenden{% endblock %}
{% block reason %}Diese E-Mail wurde an {{ receiver }} gesendet. Bei Fragen können Sie sich gerne unter {{ contact_email }} an uns wenden{% endblock %}
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@

{% block headline %}Your email address on {{ site.name }}{% endblock %}

{% block content %}this email address has been added to the user account "{{ receiver.username }}" on "{{ site.name }}". Please confirm this address. If you did not add this email address, you can ignore this email. We will not send you any further emails.{% endblock %}
{% block content %}this email address has been added to the user account "{{ user.username }}" on "{{ site.name }}". Please confirm this address. If you did not add this email address, you can ignore this email. We will not send you any further emails.{% endblock %}

{% block cta_url %}{{ activate_url }}{% endblock %}
{% block cta_label %}Confirm your email address{% endblock %}

{% block reason %}This email was sent to {{ receiver.email }}. If you have any further questions, please contact us via {{ contact_email }}{% endblock %}
{% block reason %}This email was sent to {{ receiver }}. If you have any further questions, please contact us via {{ contact_email }}{% endblock %}
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@

{% block headline %}Ihre Registrierung auf {{ site.name }}{% endblock %}

{% block content %}Sie haben sich mit dieser E-Mail adresse und dem Benutzernamen "{{ receiver.username }}" auf der Beteiligungsplattform "{{ site.name }}" registriert. Um die Registrierung abzuschließen und Ihr Benutzerkonto zu aktivieren, bestätigen Sie bitte Ihre E-Mail Adresse. Wenn Sie diese E-Mail Adresse nicht zur Registrierung auf "{{ site.name }}" verwendet haben, können Sie diese Nachricht ignorieren. Wir werden Ihnen keine weiteren E-Mails senden.{% endblock %}
{% block content %}Sie haben sich mit dieser E-Mail adresse und dem Benutzernamen "{{ user.username }}" auf der Beteiligungsplattform "{{ site.name }}" registriert. Um die Registrierung abzuschließen und Ihr Benutzerkonto zu aktivieren, bestätigen Sie bitte Ihre E-Mail Adresse. Wenn Sie diese E-Mail Adresse nicht zur Registrierung auf "{{ site.name }}" verwendet haben, können Sie diese Nachricht ignorieren. Wir werden Ihnen keine weiteren E-Mails senden.{% endblock %}

{% block cta_url %}{{ activate_url }}{% endblock %}
{% block cta_label %}Bestätigen Sie Ihre E-Mail Adresse{% endblock %}

{% block reason %}Diese E-Mail wurde an {{ receiver.email }} gesendet. Bei Fragen können Sie sich gerne unter {{ contact_email }} an uns wenden{% endblock %}
{% block reason %}Diese E-Mail wurde an {{ user.email }} gesendet. Bei Fragen können Sie sich gerne unter {{ contact_email }} an uns wenden{% endblock %}
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@

{% block headline %}Your registration on {{ site.name }}{% endblock %}

{% block content %}you have registered with this email and the username "{{ receiver.username }}" on "{{ site.name }}". To finish the registration and activate your account, please confirm your email. If you did not register on "{{ site.name }}" using this email address, you can ignore this email. We will not send you any further emails.{% endblock %}
{% block content %}you have registered with this email and the username "{{ user.username }}" on "{{ site.name }}". To finish the registration and activate your account, please confirm your email. If you did not register on "{{ site.name }}" using this email address, you can ignore this email. We will not send you any further emails.{% endblock %}

{% block cta_url %}{{ activate_url }}{% endblock %}
{% block cta_label %}Confirm your email address{% endblock %}

{% block reason %}This email was sent to {{ receiver.email }}. If you have any further questions, please contact us via {{ contact_email }}{% endblock %}
{% block reason %}This email was sent to {{ user.email }}. If you have any further questions, please contact us via {{ contact_email }}{% endblock %}
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@

{% block subject %}Passwort zurücksetzen auf {{ site.name }}{% endblock %}

{% block headline %}Passwort zurücksetzen für Ihr Benutzerkonto {{ receiver.username }}{% endblock %}
{% block headline %}Passwort zurücksetzen für Ihr Benutzerkonto {{ user.username }}{% endblock %}

{% block content %}Sie erhalten diese E-Mail, weil Sie Ihr Passwort zurücksetzen möchten. Klicken Sie dazu auf "Passwort zurücksetzen". Sollten Sie die Zurücksetzung Ihres Passworts nicht angefordert haben, können Sie diese E-Mail ignorieren. Ihr Passwort wird nicht verändert und Ihr Konto auf meinBerlin ist nachwievor geschützt.{% endblock %}

{% block cta_url %}{{ password_reset_url }}{% endblock %}
{% block cta_label %}Passwort zurücksetzen{% endblock %}

{% block reason %}Diese E-Mail wurde an {{ receiver.email }} gesendet, weil über die Beteiligungsplattform meinBerlin angefordert wurde, das Passwort zurückzusetzen.{% endblock %}
{% block reason %}Diese E-Mail wurde an {{ user.email }} gesendet, weil über die Beteiligungsplattform meinBerlin angefordert wurde, das Passwort zurückzusetzen.{% endblock %}
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@

{% block subject %}Reset password request for {{ site.name }}{% endblock %}

{% block headline %}Password reset for your account {{ receiver.username }}{% endblock %}
{% block headline %}Password reset for your account {{ user.username }}{% endblock %}

{% block content %}you have requested a password reset. Please click on "Reset password" to set a new password. If you have not requested a password reset, you can ighnore this email and your {{ site.name }} password stays unchanged.{% endblock %}

{% block cta_url %}{{ password_reset_url }}{% endblock %}
{% block cta_label %}Reset password{% endblock %}

{% block reason %}This email was sent to {{ receiver.email }}. You receive this email because your password on {{ site.name }} has been reset.{% endblock %}
{% block reason %}This email was sent to {{ user.email }}. You receive this email because your password on {{ site.name }} has been reset.{% endblock %}

0 comments on commit 721eb01

Please sign in to comment.