diff --git a/presentation/lookAndFeel/knowledgeTree/documentmanagement/viewUI.inc b/presentation/lookAndFeel/knowledgeTree/documentmanagement/viewUI.inc index 5c78b25..04d9d7b 100644 --- a/presentation/lookAndFeel/knowledgeTree/documentmanagement/viewUI.inc +++ b/presentation/lookAndFeel/knowledgeTree/documentmanagement/viewUI.inc @@ -36,11 +36,12 @@ function renderDocumentPath($oDocument, $bDisplayActions = false) { $sDocumentPath = displayFolderPathLink(Folder::getFolderPathAsArray($oDocument->getFolderID()), Folder::getFolderPathNamesAsArray($oDocument->getFolderID()), "$default->rootUrl/control.php?action=browse") . " > "; // #3425 for consistency - $sDocumentPath .= $oDocument->getFileName(); - if ($bDisplayActions) { - $sDocumentPath = "" . $sDocumentPath . ""; + if ($bDisplayActions) { + $sDocumentPath .= "" . $oDocument->getFileName() . ""; + } else { + $sDocumentPath .= $oDocument->getFileName(); } - return "" . ($bDisplayActions ? "" : "") . "
$sDocumentPathActions
\n"; + return "" . ($bDisplayActions ? "" : "") . "
" . $sDocumentPath . "Actions
\n"; } function renderDocumentData($oDocument, $bEditable, $sStatusMessage = "") {