Merge pull request #20810 from FHenry/15.0_fix_filename_lenght
fix: limit filename lenght to show glasses into document boxes
This commit is contained in:
commit
54e149b959
@ -892,7 +892,7 @@ class FormFile
|
||||
}
|
||||
$out .= '>';
|
||||
$out .= img_mime($file["name"], $langs->trans("File").': '.$file["name"]);
|
||||
$out .= dol_trunc($file["name"], 150);
|
||||
$out .= dol_trunc($file["name"], 40);
|
||||
$out .= '</a>'."\n";
|
||||
$out .= $this->showPreview($file, $modulepart, $relativepath, 0, $param);
|
||||
$out .= '</td>';
|
||||
|
||||
Loading…
Reference in New Issue
Block a user