Commit a290cb9a authored by Samuel GAIST's avatar Samuel GAIST

Merge branch 'fix_ui_registration_templates' into 'master'

Fix ui registration templates

Closes #490 and #491

See merge request !257
parents 589c4bf3 8c5872de
Pipeline #24667 passed with stage
in 26 minutes and 29 seconds
......@@ -30,10 +30,16 @@
{% if account %}
<p class="text">Your account is almost activated. Welcome {{ account.username }}.
{% if account.profile.is_supervisor %}
We have received your request and the administrators are currently validating
your candidature. You will be informed by email once this is done.
{% else %}
We have asked your "supervisor" to validate your account and accept you as a
supervisee. You will be informed by email once this is done.
In the meantime you can remind your "supervisor" to validate
your account. You will then be able to <a href="{% url 'login' %}">sign in</a> and start your own experiments!</p>
your account.
{% endif %}
You will then be able to <a href="{% url 'login' %}">sign in</a> and start your own experiments!</p>
{% else %}
<p class="text">Your account wasn't activated. Check that the URL you entered is correct.
If you already clicked on the link sent to you by email, you need to wait
......
......@@ -2,4 +2,4 @@ Dear {{ supervisee.first_name }},
Your account was successfully activated by your supervisor {{ supervisor.username }}.
You can now sign in and start your own experiments!</p>
You can now sign in and start your own experiments!
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment