Add display name (first_name) shown instead of username on user-facing UI
All checks were successful
Docker / build (release) Successful in 9s

This commit is contained in:
krek0 2026-05-17 07:08:29 +02:00
parent 28f279a4ab
commit 4e23d45472
4 changed files with 20 additions and 3 deletions

View file

@ -132,7 +132,7 @@ SPDX-License-Identifier: GPL-3.0-or-later
<footer>
<p class="small text-center text-muted mt-1">
{% if request.user.is_authenticated %}
{% trans "Connected as" %} <code>{{ request.user.username }}</code> &middot;
{% trans "Connected as" %} <code>{{ request.user.first_name|default:request.user.username }}</code> &middot;
{% endif %}
<a class="text-reset" href="https://git.sinfonie.org/sinfonie/photo26">{% trans "Source code" %}</a>
</p>