Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop
This commit is contained in:
commit
49e678b9c0
@ -62,7 +62,7 @@ function loan_prepare_head($object)
|
||||
$nbFiles = count(dol_dir_list($upload_dir,'files',0,'','(\.meta|_preview\.png)$'));
|
||||
$head[$tab][0] = DOL_URL_ROOT.'/loan/document.php?id='.$object->id;
|
||||
$head[$tab][1] = $langs->trans("Documents");
|
||||
if($nbFiles > 0) $head[$tab][1].= ' ('.$nbFiles.')';
|
||||
if($nbFiles > 0) $head[$tab][1].= ' <span class="badge">'.$nbFiles.'</span>';
|
||||
$head[$tab][2] = 'documents';
|
||||
$tab++;
|
||||
|
||||
@ -74,4 +74,4 @@ function loan_prepare_head($object)
|
||||
complete_head_from_modules($conf,$langs,$object,$head,$tab,'loan','remove');
|
||||
|
||||
return $head;
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user