Skip to content

Commit

Permalink
Merge pull request #2512 from frederic34/patch-9
Browse files Browse the repository at this point in the history
Add badge
  • Loading branch information
eldy committed Apr 2, 2015
2 parents c5b6fc4 + 2a34ec9 commit 051f347
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion htdocs/core/lib/tax.lib.php
Expand Up @@ -57,7 +57,7 @@ function tax_prepare_head(ChargeSociales $object)
$nbFiles = count(dol_dir_list($upload_dir,'files',0,'','(\.meta|_preview\.png)$'));
$head[$h][0] = DOL_URL_ROOT.'/compta/sociales/document.php?id='.$object->id;
$head[$h][1] = $langs->trans("Documents");
if($nbFiles > 0) $head[$h][1].= ' ('.$nbFiles.')';
if($nbFiles > 0) $head[$h][1].= ' <span class="badge">'.$nbFiles.'</span>';
$head[$h][2] = 'documents';
$h++;

Expand Down

0 comments on commit 051f347

Please sign in to comment.