From 4b0db52bdf8efca4dc2592a2486b5f839b1dd318 Mon Sep 17 00:00:00 2001 From: Uwe Steinmann Date: Thu, 11 Jun 2015 21:30:30 +0200 Subject: [PATCH] =?UTF-8?q?show=20link=20to=20downloa=D1=95=20review/appro?= =?UTF-8?q?val=20file?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- views/bootstrap/class.ViewDocument.php | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) 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 "