From 1ef343903cae5ed9d06e4b2ad84f2a3ecc7e73a0 Mon Sep 17 00:00:00 2001 From: Uwe Steinmann Date: Tue, 30 Apr 2013 08:36:53 +0200 Subject: [PATCH] show expiration date; show login on review/approval page --- views/bootstrap/class.ViewDocument.php | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/views/bootstrap/class.ViewDocument.php b/views/bootstrap/class.ViewDocument.php index 49448d88a..31b1e8614 100644 --- a/views/bootstrap/class.ViewDocument.php +++ b/views/bootstrap/class.ViewDocument.php @@ -213,6 +213,14 @@ class SeedDMS_View_ViewDocument extends SeedDMS_Bootstrap_Style { getDate()); ?> expires()) { +?> + + : + getExpires()); ?> + +getKeywords()) { ?> @@ -463,7 +471,7 @@ class SeedDMS_View_ViewDocument extends SeedDMS_Bootstrap_Style { $reqName = getMLText("unknown_user")." '".$r["required"]."'"; } else { - $reqName = htmlspecialchars($required->getFullName()); + $reqName = htmlspecialchars($required->getFullName()." (".$required->getLogin().")"); } if($r["required"] == $user->getId()) $is_reviewer = true; @@ -485,7 +493,7 @@ class SeedDMS_View_ViewDocument extends SeedDMS_Bootstrap_Style { print ""; + print "
  • ".(is_object($updateUser) ? htmlspecialchars($updateUser->getFullName()." (".$updateUser->getLogin().")") : "unknown user id '".$r["userID"]."'")."
  • "; print "".htmlspecialchars($r["comment"])."\n"; print "".getReviewStatusText($r["status"])."\n"; print ""; print "".htmlspecialchars($a["comment"])."\n"; print "".getApprovalStatusText($a["status"])."\n"; print "