Put the site's name in every h2

This commit is contained in:
Martin Pépin 2020-06-12 18:13:45 +02:00
parent b0a0c4884a
commit fa82ee251e
No known key found for this signature in database
GPG key ID: E7520278B1774448
2 changed files with 2 additions and 2 deletions

View file

@ -2,7 +2,7 @@
{% load i18n %}
{% block content %}
<h2>{% trans "Mode de connexion" %}</h2>
<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" %}

View file

@ -2,7 +2,7 @@
{% load i18n %}
{% block content %}
<h2>{% trans "Connexion par mot de passe" %}</h2>
<h2>{% if request.site.name %}{{ request.site.name }}{% else %}AuthENS{% endif %} - {% trans "Connexion par mot de passe" %}</h2>
{% if form.errors %}
<p>{% trans "Nom d'utilisateur et/ou mot de passe incorrect" %}</p>