@if($user)

{{ strlen($user->name) > 5 ? substr($user->name,0,6).'..' : $user->name }}

@endif