mirror of https://gitlab.crans.org/bde/nk20
Make the container customizable
This commit is contained in:
parent
50f4a43343
commit
ce35e8f7e8
|
@ -4,6 +4,9 @@ SPDX-License-Identifier: GPL-2.0-or-later
|
||||||
{% endcomment %}
|
{% endcomment %}
|
||||||
{% load i18n crispy_forms_tags static %}
|
{% load i18n crispy_forms_tags static %}
|
||||||
|
|
||||||
|
{# Use a fixed-width container #}
|
||||||
|
{% block containertype %}container{% endblock %}
|
||||||
|
|
||||||
{# Change page title without displaying it in header #}
|
{# Change page title without displaying it in header #}
|
||||||
{% block title %}{% trans "Log in" %}{% endblock %}
|
{% block title %}{% trans "Log in" %}{% endblock %}
|
||||||
{% block contenttitle %}{% endblock %}
|
{% block contenttitle %}{% endblock %}
|
||||||
|
|
|
@ -4,9 +4,10 @@
|
||||||
{% load i18n %}
|
{% load i18n %}
|
||||||
{% block title %}{% trans "Sign up" %}{% endblock %}
|
{% block title %}{% trans "Sign up" %}{% endblock %}
|
||||||
|
|
||||||
{% block content %}
|
{# Use a fixed-width container #}
|
||||||
<h2>{% trans "Sign up" %}</h2>
|
{% block containertype %}container{% endblock %}
|
||||||
|
|
||||||
|
{% block content %}
|
||||||
<div class="alert alert-warning">
|
<div class="alert alert-warning">
|
||||||
{% blocktrans %}If you already signed up, your registration is taken into account. The BDE must validate your account before your can log in. You have to go to the Kfet and pay the registration fee. You must also validate your email address by following the link you received.{% endblocktrans %}
|
{% blocktrans %}If you already signed up, your registration is taken into account. The BDE must validate your account before your can log in. You have to go to the Kfet and pay the registration fee. You must also validate your email address by following the link you received.{% endblocktrans %}
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -167,7 +167,7 @@ SPDX-License-Identifier: GPL-3.0-or-later
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
</nav>
|
</nav>
|
||||||
<div class="container-fluid my-3" style="max-width: 1600px;">
|
<div class="{% block containertype %}container-fluid{% endblock %} my-3">
|
||||||
{% if request.user.is_authenticated and not request.user.profile.email_confirmed %}
|
{% if request.user.is_authenticated and not request.user.profile.email_confirmed %}
|
||||||
<div class="alert alert-warning">
|
<div class="alert alert-warning">
|
||||||
{% trans "Your e-mail address is not validated. Please check your mail inbox and click on the validation link." %}
|
{% trans "Your e-mail address is not validated. Please check your mail inbox and click on the validation link." %}
|
||||||
|
|
Loading…
Reference in New Issue