mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-02-11 09:35:00 +00:00
show a message if the revision date cannot be set
This commit is contained in:
parent
ce0de15ce1
commit
ac841494a9
|
@ -74,10 +74,12 @@ class SeedDMS_View_SetRevisors extends SeedDMS_Theme_Style {
|
|||
<input type='hidden' name='version' value='<?php echo $content->getVersion() ?>'/>
|
||||
|
||||
<?php
|
||||
$this->contentContainerStart();
|
||||
if($content->getStatus()['status'] == S_IN_REVISION) {
|
||||
echo '<input type="hidden" name="startdate" value="" />';
|
||||
$this->infoMsg(getMLText('document_in_revision_no_date'));
|
||||
$this->contentContainerStart();
|
||||
} else {
|
||||
$this->contentContainerStart();
|
||||
$this->formField(
|
||||
getMLText("revision_date"),
|
||||
$this->getDateChooser($startdate, "startdate", $this->params['session']->getLanguage())
|
||||
|
|
Loading…
Reference in New Issue
Block a user