From 43e114101ae3784439fcfd6aa327222b728c3cc3 Mon Sep 17 00:00:00 2001 From: Uwe Steinmann Date: Sun, 18 Sep 2022 12:53:05 +0200 Subject: [PATCH] issue msg if there are revisors in state 'sleeping' but no revision date --- views/bootstrap/class.ViewDocument.php | 18 ++++++------------ 1 file changed, 6 insertions(+), 12 deletions(-) diff --git a/views/bootstrap/class.ViewDocument.php b/views/bootstrap/class.ViewDocument.php index 3a3c7134d..eaebf2a5a 100644 --- a/views/bootstrap/class.ViewDocument.php +++ b/views/bootstrap/class.ViewDocument.php @@ -1744,19 +1744,13 @@ $(document).ready( function() { $status = $latestContent->getStatus(); if($status['status'] == S_RELEASED) { if($latestContent->getRevisionDate()) { -?> -
- getReadableDate($latestContent->getRevisionDate()))); -?> -
-warningMsg(getMLText('revise_document_on', array('date' => getReadableDate($latestContent->getRevisionDate())))); + } else { + $this->errorMsg(getMLText('no_revision_date')); } - } /*elseif($status['status'] != S_IN_REVISION) { -?> -
-infoMsg(getMLText('no_revision_planed')); + } // $this->contentContainerStart(); print "\n";