Add cards to registration apps

This commit is contained in:
Alexandre Iooss 2020-09-07 19:28:18 +02:00
parent 346aa94ead
commit 6b06853678
2 changed files with 34 additions and 15 deletions

View File

@ -5,14 +5,29 @@ SPDX-License-Identifier: GPL-3.0-or-later
{% load i18n %} {% load i18n %}
{% block content %} {% block content %}
<div class="card bg-light">
<h3 class="card-header text-center">
{{ title }}
</h3>
<div class="card-body">
{% if validlink %} {% if validlink %}
<p>
{% trans "Your email have successfully been validated." %} {% trans "Your email have successfully been validated." %}
</p>
{% if user_object.profile.registration_valid %} {% if user_object.profile.registration_valid %}
<p>
{% blocktrans %}You can now <a href="{{ login_url }}">log in</a>.{% endblocktrans %} {% blocktrans %}You can now <a href="{{ login_url }}">log in</a>.{% endblocktrans %}
</p>
{% else %} {% else %}
<p>
{% trans "You must pay now your membership in the Kfet to complete your registration." %} {% trans "You must pay now your membership in the Kfet to complete your registration." %}
</p>
{% endif %} {% endif %}
{% else %} {% else %}
<p>
{% trans "The link was invalid. The token may have expired. Please send us an email to activate your account." %} {% trans "The link was invalid. The token may have expired. Please send us an email to activate your account." %}
</p>
{% endif %} {% endif %}
</div>
</div>
{% endblock %} {% endblock %}

View File

@ -5,13 +5,17 @@ SPDX-License-Identifier: GPL-3.0-or-later
{% load i18n %} {% load i18n %}
{% block content %} {% block content %}
<h2>{% trans "Account activation" %}</h2> <div class="card bg-light">
<h3 class="card-header text-center">
<p> {% trans "Account activation" %}
</h3>
<div class="card-body">
<p>
{% trans "An email has been sent. Please click on the link to activate your account." %} {% trans "An email has been sent. Please click on the link to activate your account." %}
</p> </p>
<p>
<p>
{% trans "You must also go to the Kfet to pay your membership. The WEI registration includes the BDE membership." %} {% trans "You must also go to the Kfet to pay your membership. The WEI registration includes the BDE membership." %}
</p> </p>
</div>
</div>
{% endblock %} {% endblock %}