fix status column of folder

This commit is contained in:
Uwe Steinmann 2022-04-30 15:52:18 +02:00
parent 50c4931834
commit b5120113f7
2 changed files with 4 additions and 2 deletions

View File

@ -3238,7 +3238,8 @@ $('body').on('click', '[id^=\"table-row-folder\"] td:nth-child(2)', function(ev)
$subsub = SeedDMS_Core_DMS::filterAccess($subsub, $user, M_READ);
$subdoc = $subFolder->getDocuments();
$subdoc = SeedDMS_Core_DMS::filterAccess($subdoc, $user, M_READ);
$content .= count($subsub)." ".getMLText("folders")."<br />".count($subdoc)." ".getMLText("documents");
$content .= '<i class="fa fa-folder" title="'.getMLText("folders").'"></i> '.count($subsub)."<br />";
$content .= '<i class="fa fa-file" title="'.getMLText("documents").'"></i> '.count($subdoc);
}
$content .= "</div>";
return $content;

View File

@ -3271,7 +3271,8 @@ $('body').on('click', '[id^=\"table-row-folder\"] td:nth-child(2)', function(ev)
$subsub = SeedDMS_Core_DMS::filterAccess($subsub, $user, M_READ);
$subdoc = $subFolder->getDocuments();
$subdoc = SeedDMS_Core_DMS::filterAccess($subdoc, $user, M_READ);
$content .= count($subsub)." ".getMLText("folders")."<br />".count($subdoc)." ".getMLText("documents");
$content .= '<i class="fa fa-folder" title="'.getMLText("folders").'"></i> '.count($subsub)."<br />";
$content .= '<i class="fa fa-file" title="'.getMLText("documents").'"></i> '.count($subdoc);
}
$content .= "</div>";
return $content;