Simplify logic on index page
This commit is contained in:
parent
2bd96a4380
commit
583a1ffce8
1 changed files with 1 additions and 3 deletions
|
|
@ -46,9 +46,7 @@ SPDX-License-Identifier: GPL-3.0-or-later
|
||||||
|
|
||||||
<hr/>
|
<hr/>
|
||||||
|
|
||||||
{% if request.user.is_authenticated %}
|
{% trans "Connected as" %} <code>{{ request.user.username }}</code>.
|
||||||
{% trans "Connected as" %} <code>{{ request.user.username }}</code>.
|
|
||||||
{% endif %}
|
|
||||||
<form action="{% url 'set_language' %}" method="post" style="max-width: 10em;">
|
<form action="{% url 'set_language' %}" method="post" style="max-width: 10em;">
|
||||||
{% csrf_token %}
|
{% csrf_token %}
|
||||||
Changer la langue :
|
Changer la langue :
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue