diff --git a/views/bootstrap/class.ViewDocument.php b/views/bootstrap/class.ViewDocument.php index 4caeb0fdd..4359af788 100644 --- a/views/bootstrap/class.ViewDocument.php +++ b/views/bootstrap/class.ViewDocument.php @@ -515,7 +515,12 @@ class SeedDMS_View_ViewDocument extends SeedDMS_Bootstrap_Style { /* $updateUser is the user who has done the review */ $updateUser = $dms->getUser($r["userID"]); print "
  • ".(is_object($updateUser) ? htmlspecialchars($updateUser->getFullName()." (".$updateUser->getLogin().")") : "unknown user id '".$r["userID"]."'")."
  • "; - print "".htmlspecialchars($r["comment"])."\n"; + print "".htmlspecialchars($r["comment"]); + if($r['file']) { + echo "
    "; + echo "".getMLText('download').""; + } + print "\n"; print "".getReviewStatusText($r["status"])."\n"; print ""; - print "".htmlspecialchars($a["comment"])."\n"; + print "".htmlspecialchars($a["comment"]); + if($a['file']) { + echo "
    "; + echo "".getMLText('download').""; + } + echo "\n"; print "".getApprovalStatusText($a["status"])."\n"; print "