mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-05-11 20:21:16 +00:00
issue msg if there are revisors in state 'sleeping' but no revision date
This commit is contained in:
parent
3e2e8e2591
commit
43e114101a
|
@ -1744,19 +1744,13 @@ $(document).ready( function() {
|
|||
$status = $latestContent->getStatus();
|
||||
if($status['status'] == S_RELEASED) {
|
||||
if($latestContent->getRevisionDate()) {
|
||||
?>
|
||||
<div class="alert alert-warning">
|
||||
<?php
|
||||
print getMLText('revise_document_on', array('date' => getReadableDate($latestContent->getRevisionDate())));
|
||||
?>
|
||||
</div>
|
||||
<?php
|
||||
$this->warningMsg(getMLText('revise_document_on', array('date' => getReadableDate($latestContent->getRevisionDate()))));
|
||||
} else {
|
||||
$this->errorMsg(getMLText('no_revision_date'));
|
||||
}
|
||||
} /*elseif($status['status'] != S_IN_REVISION) {
|
||||
?>
|
||||
<div class="alert alert-info"><?= getMLText('no_revision_planed') ?></div>
|
||||
<?php
|
||||
} */
|
||||
} elseif($status['status'] != S_IN_REVISION) {
|
||||
$this->infoMsg(getMLText('no_revision_planed'));
|
||||
}
|
||||
// $this->contentContainerStart();
|
||||
print "<table class=\"table table-condensed table-sm\">\n";
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user