* project: the has-warning style should be only displayed when copying a project.

This commit is contained in:
liugang
2023-11-15 14:06:10 +08:00
parent 3775381130
commit 5b15e11e09
+2 -2
View File
@@ -312,11 +312,11 @@ formPanel
$lang->project->to,
datepicker
(
setClass('has-warning'),
set::name('end'),
set('id', 'end'),
set::placeholder($lang->project->end),
set::required(true)
set::required(true),
$copyProjectID ? setClass('has-warning') : null
)
),
$copyProjectID ? div(setClass('text-warning'), $lang->project->copyProject->endTips) : null