check checkout status

This commit is contained in:
Uwe Steinmann 2022-11-09 13:31:47 +01:00
parent e422fcf67a
commit 3e733b91cd

View File

@ -422,6 +422,7 @@ $(document).ready( function() {
}
foreach($infos as $info) {
$checkoutuser = $dms->getUser($info['userID']);
$checkoutstatus = $document->checkOutStatus();
echo "<div class=\"alert alert-info\">";
echo "<a href=\"file://".$info['filename']."\">".getMLText('copied_to_checkout_as', array('date'=>getLongReadableDate(makeTsFromLongDate($info['date'])), 'filename'=>substr($info['filename'], strlen($checkoutpath)+1), 'username'=>($checkoutuser ? $checkoutuser->getFullName() : '')))."</a>";
echo "</div>";