show folder path for each document in transmittal

This commit is contained in:
Uwe Steinmann 2026-03-18 15:41:26 +01:00
parent f69b8f2b3a
commit cf3bc98dd5
2 changed files with 9 additions and 1 deletions

View File

@ -3,6 +3,7 @@
--------------------------------------------------------------------------------
- merge changes up to 5.1.46
- qrcode creation no longer needs imagick extension
- show folder path for each document in transmittal
--------------------------------------------------------------------------------
Changes in version 6.0.38

View File

@ -197,7 +197,14 @@ $(document).ready( function() {
if ($document->getAccessMode($user) >= M_READ) {
// echo "<tr id=\"table-row-transmittalitem-".$item->getID()."\">";
echo $this->documentListRowStart($document);
echo $this->documentListRow($document, $previewer, true, $content->getVersion());
$extracontent = array();
$extracontent['below_title'] = $this->getListRowPath($document);
$txt = $this->callHook('documentListItem', $document, $previewer, true, 'transmittal', $extracontent);
if(is_string($txt))
echo $txt;
else {
echo $this->documentListRow($document, $previewer, true, $content->getVersion(), $extracontent);
}
echo "<td><div class=\"list-action\">";
$this->printDeleteItemButton($item, getMLText('transmittalitem_removed'));
if($latestcontent->getVersion() != $content->getVersion())