diff --git a/src/Entity/UserSystem/User.php b/src/Entity/UserSystem/User.php index 66a6218c..926fc8b4 100644 --- a/src/Entity/UserSystem/User.php +++ b/src/Entity/UserSystem/User.php @@ -513,7 +513,7 @@ class User extends AttachmentContainingDBElement implements UserInterface, HasPe public function getFullName(bool $including_username = false): string { if ($including_username) { - return sprintf('%s %s (%s)', $this->getFirstName(), $this->getLastName(), $this->getName()); + return sprintf('%s %s (@%s)', $this->getFirstName(), $this->getLastName(), $this->getName()); } return sprintf('%s %s', $this->getFirstName(), $this->getLastName()); diff --git a/templates/_navbar.html.twig b/templates/_navbar.html.twig index 3d8e8b0c..83d78e9b 100644 --- a/templates/_navbar.html.twig +++ b/templates/_navbar.html.twig @@ -33,7 +33,7 @@ {% if app.user %}{% else %}{% endif %}