From fa82ee251ea2d0de35de7d43784f6d2f8875494d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20P=C3=A9pin?= Date: Fri, 12 Jun 2020 18:13:45 +0200 Subject: [PATCH] Put the site's name in every h2 --- authens/templates/authens/login_switch.html | 2 +- authens/templates/authens/pwd_login.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/authens/templates/authens/login_switch.html b/authens/templates/authens/login_switch.html index 84cf665..16917d1 100644 --- a/authens/templates/authens/login_switch.html +++ b/authens/templates/authens/login_switch.html @@ -2,7 +2,7 @@ {% load i18n %} {% block content %} -

{% trans "Mode de connexion" %}

+

{% if request.site.name %}{{ request.site.name }}{% else %}AuthENS{% endif %} - {% trans "Mode de connexion" %}

{% trans "Clipper" %} diff --git a/authens/templates/authens/pwd_login.html b/authens/templates/authens/pwd_login.html index 8965c62..46bbb87 100644 --- a/authens/templates/authens/pwd_login.html +++ b/authens/templates/authens/pwd_login.html @@ -2,7 +2,7 @@ {% load i18n %} {% block content %} -

{% trans "Connexion par mot de passe" %}

+

{% if request.site.name %}{{ request.site.name }}{% else %}AuthENS{% endif %} - {% trans "Connexion par mot de passe" %}

{% if form.errors %}

{% trans "Nom d'utilisateur et/ou mot de passe incorrect" %}