mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Truncate datatable tooltips
This commit is contained in:
parent
6a0ebbb4d5
commit
4a98985f14
@ -103,7 +103,7 @@ class EntityDatatable
|
||||
$str = e($str);
|
||||
|
||||
if (strlen($str) > $max) {
|
||||
return '<span data-toggle="tooltip" data-placement="bottom" title="' . $str . '">' . trim(substr($str, 0, $max)) . '...' . '</span>';
|
||||
return '<span data-toggle="tooltip" data-placement="bottom" title="' . substr($str, 0, 500) . '">' . trim(substr($str, 0, $max)) . '...' . '</span>';
|
||||
} else {
|
||||
return $str;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user