diff --git a/includes/view/User_view.php b/includes/view/User_view.php index c3b6bfb2..d3b661b2 100644 --- a/includes/view/User_view.php +++ b/includes/view/User_view.php @@ -670,11 +670,24 @@ function User_view( ]), div('row user-info', [ div('col-md-2', [ - heading(icon('phone') - . '' - . $user_source->contact->dect, 1) - . '' - ]), + config('enable_dect') ? + heading( + icon('phone') + . ' ' + . $user_source->contact->dect + . '', 1 + ) + : '' , + $auth->can('user_messages') ? + heading( + '' + . icon('envelope') + . '', + 1 + ) + : '' , + ] + ), User_view_state($admin_user_privilege, $freeloader, $user_source), User_angeltypes_render($user_angeltypes), User_groups_render($user_groups),