mirror of
https://github.com/BookStackApp/BookStack.git
synced 2024-10-30 07:32:39 +01:00
Truncate with three dots
This commit is contained in:
parent
f997d3e0bb
commit
f4deb13301
@ -345,7 +345,7 @@ class User extends Model implements AuthenticatableContract, CanResetPasswordCon
|
||||
return $splitName[0];
|
||||
}
|
||||
|
||||
return mb_substr($this->name, 0, $chars) . '..';
|
||||
return mb_substr($this->name, 0, $chars-3) . '…';
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user