Blocks for container title
This commit is contained in:
parent
3a46a003d5
commit
ac37431b74
4 changed files with 15 additions and 5 deletions
|
@ -15,6 +15,9 @@
|
|||
</head>
|
||||
<body>
|
||||
<div id="container">
|
||||
{% block container-top %}
|
||||
<h2>{% if request.site.name %}{{ request.site.name }}{% else %}AuthENS{% endif %} - {% block container-title %}{% endblock %}</h2>
|
||||
{% endblock %}
|
||||
{% block content %}{% endblock %}
|
||||
</div>
|
||||
</body>
|
||||
|
|
|
@ -1,8 +1,11 @@
|
|||
{% extends "authens/base.html" %}
|
||||
{% load i18n %}
|
||||
|
||||
{% block container-title %}
|
||||
{% trans "Mode de connexion" %}
|
||||
{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
<h2>{% if request.site.name %}{{ request.site.name }}{% else %}AuthENS{% endif %} - {% trans "Mode de connexion" %}</h2>
|
||||
<a href="{% url "authens:login.cas" %}?next={{ next| urlencode }}">
|
||||
<div class="big-button cas">
|
||||
{% trans "Clipper" %}
|
||||
|
|
|
@ -1,9 +1,11 @@
|
|||
{% extends "authens/base.html" %}
|
||||
{% load i18n %}
|
||||
|
||||
{% block content %}
|
||||
<h2>{% if request.site.name %}{{ request.site.name }}{% else %}AuthENS{% endif %} - {% trans "Connexion vieilleux" %}</h2>
|
||||
{% block container-title %}
|
||||
{% trans "Connexion vieilleux" %}
|
||||
{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
{% for error in form.non_field_errors %}
|
||||
<p class="error">{{ error }}</p>
|
||||
{% endfor %}
|
||||
|
|
|
@ -1,9 +1,11 @@
|
|||
{% extends "authens/base.html" %}
|
||||
{% load i18n %}
|
||||
|
||||
{% block content %}
|
||||
<h2>{% if request.site.name %}{{ request.site.name }}{% else %}AuthENS{% endif %} - {% trans "Connexion par mot de passe" %}</h2>
|
||||
{% block container-title %}
|
||||
{% trans "Connexion par mot de passe" %}
|
||||
{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
{% for error in form.non_field_errors %}
|
||||
<p class="error">{{ error }}</p>
|
||||
{% endfor %}
|
||||
|
|
Loading…
Reference in a new issue