mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-05-22 09:31:22 +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() ?>'/>
|
<input type='hidden' name='version' value='<?php echo $content->getVersion() ?>'/>
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
$this->contentContainerStart();
|
|
||||||
if($content->getStatus()['status'] == S_IN_REVISION) {
|
if($content->getStatus()['status'] == S_IN_REVISION) {
|
||||||
echo '<input type="hidden" name="startdate" value="" />';
|
echo '<input type="hidden" name="startdate" value="" />';
|
||||||
|
$this->infoMsg(getMLText('document_in_revision_no_date'));
|
||||||
|
$this->contentContainerStart();
|
||||||
} else {
|
} else {
|
||||||
|
$this->contentContainerStart();
|
||||||
$this->formField(
|
$this->formField(
|
||||||
getMLText("revision_date"),
|
getMLText("revision_date"),
|
||||||
$this->getDateChooser($startdate, "startdate", $this->params['session']->getLanguage())
|
$this->getDateChooser($startdate, "startdate", $this->params['session']->getLanguage())
|
||||||
|
|
Loading…
Reference in New Issue
Block a user