diff --git a/Web/Presenters/templates/User/View.xml b/Web/Presenters/templates/User/View.xml index f7b600ef..b9db5c87 100644 --- a/Web/Presenters/templates/User/View.xml +++ b/Web/Presenters/templates/User/View.xml @@ -458,8 +458,8 @@ {_birth_date}: - {$user->getBirthday()->format('%e %B %Y')}, - {tr("years", $user->getAge())} + {$user->getBirthday()->format('%e %B %Y')}{if $user->onlineStatus() != 2}, + {tr("years", $user->getAge())}{/if} {$user->getBirthday()->format('%e %B')}