From 583a1ffce8200f4243c580d41f5c93f2dd0f0e4f Mon Sep 17 00:00:00 2001 From: Alexandre Iooss Date: Fri, 15 Oct 2021 10:51:20 +0200 Subject: [PATCH] Simplify logic on index page --- photo21/templates/index.html | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/photo21/templates/index.html b/photo21/templates/index.html index 63be33d..e9fd5fa 100644 --- a/photo21/templates/index.html +++ b/photo21/templates/index.html @@ -46,9 +46,7 @@ SPDX-License-Identifier: GPL-3.0-or-later
- {% if request.user.is_authenticated %} - {% trans "Connected as" %} {{ request.user.username }}. - {% endif %} + {% trans "Connected as" %} {{ request.user.username }}.
{% csrf_token %} Changer la langue :