mirror of
https://github.com/ae-utbm/sith.git
synced 2025-07-10 03:49:24 +00:00
Send a mail when someone is subscribed
This commit is contained in:
17
core/templates/core/new_user_email.jinja
Normal file
17
core/templates/core/new_user_email.jinja
Normal file
@ -0,0 +1,17 @@
|
||||
{% autoescape off %}
|
||||
{% trans %}You're receiving this email because you subscribed to the UTBM student association.{% endtrans %}
|
||||
|
||||
{% trans %}Please go to the following page and choose a new password:{% endtrans %}
|
||||
{% block reset_link %}
|
||||
{{ protocol }}://{{ domain }}{{ url('core:password_reset_confirm', uidb64=uid, token=token) }}
|
||||
{% endblock %}
|
||||
{% trans %}Your username, in case it was not given to you: {% endtrans %} {{ user.get_username() }}
|
||||
{% trans %}You also got a new account that will be useful to purchase products in the living areas and on the Eboutic.{% endtrans %}
|
||||
{% trans account=user.customer.account_id %}Here is your account number: {{ account }}{% endtrans %}
|
||||
|
||||
{% trans %}Thanks for subscribing! {% endtrans %}
|
||||
|
||||
{% trans %}The AE team{% endtrans %}
|
||||
|
||||
{% endautoescape %}
|
||||
|
3
core/templates/core/new_user_email_subject.jinja
Normal file
3
core/templates/core/new_user_email_subject.jinja
Normal file
@ -0,0 +1,3 @@
|
||||
{% autoescape off %}
|
||||
{% trans %}New subscription to the UTBM student association{% endtrans %}
|
||||
{% endautoescape %}
|
Reference in New Issue
Block a user