diff --git a/module/programplan/lang/de.php b/module/programplan/lang/de.php index 464c22e7a0..ff5e02eab2 100644 --- a/module/programplan/lang/de.php +++ b/module/programplan/lang/de.php @@ -93,6 +93,7 @@ $lang->programplan->methodTip = "You can choose to continue creating stag $lang->programplan->cropStageTip = "Stages that have already started cannot be cropped"; $lang->programplan->childEnabledTip = "Child stage enabled follows parent stage."; $lang->programplan->reviewedPointTip = "The review point has been submitted for review and can no longer be operated."; +$lang->programplan->typeTip = "The first level only supports creating stages, and stages can be created or {$lang->executionCommon}/Kanban can be created under the same stage. It's not supported to further split the {$lang->executionCommon}/Kanban."; $lang->programplan->milestoneList[1] = 'Yes'; $lang->programplan->milestoneList[0] = 'No'; diff --git a/module/programplan/lang/en.php b/module/programplan/lang/en.php index 09ef59d4fe..461e2f3177 100644 --- a/module/programplan/lang/en.php +++ b/module/programplan/lang/en.php @@ -93,6 +93,7 @@ $lang->programplan->methodTip = "You can choose to continue creating stag $lang->programplan->cropStageTip = "Stages that have already started cannot be cropped"; $lang->programplan->childEnabledTip = "Child stage enabled follows parent stage."; $lang->programplan->reviewedPointTip = "The review point has been submitted for review and can no longer be operated."; +$lang->programplan->typeTip = "The first level only supports creating stages, and stages can be created or {$lang->executionCommon}/Kanban can be created under the same stage. It's not supported to further split the {$lang->executionCommon}/Kanban."; $lang->programplan->milestoneList[1] = 'Yes'; $lang->programplan->milestoneList[0] = 'No'; diff --git a/module/programplan/lang/fr.php b/module/programplan/lang/fr.php index 9ce00e7591..ea799cf2db 100644 --- a/module/programplan/lang/fr.php +++ b/module/programplan/lang/fr.php @@ -93,6 +93,7 @@ $lang->programplan->methodTip = "You can choose to continue creating stag $lang->programplan->cropStageTip = "Stages that have already started cannot be cropped"; $lang->programplan->childEnabledTip = "Child stage enabled follows parent stage."; $lang->programplan->reviewedPointTip = "The review point has been submitted for review and can no longer be operated."; +$lang->programplan->typeTip = "The first level only supports creating stages, and stages can be created or {$lang->executionCommon}/Kanban can be created under the same stage. It's not supported to further split the {$lang->executionCommon}/Kanban."; $lang->programplan->milestoneList[1] = 'Yes'; $lang->programplan->milestoneList[0] = 'No'; diff --git a/module/programplan/lang/zh-cn.php b/module/programplan/lang/zh-cn.php index db29dcdfdf..ffcce34353 100644 --- a/module/programplan/lang/zh-cn.php +++ b/module/programplan/lang/zh-cn.php @@ -93,6 +93,7 @@ $lang->programplan->methodTip = "您可以在该阶段下选择继续创 $lang->programplan->cropStageTip = "已经开始了的阶段不能再裁剪"; $lang->programplan->childEnabledTip = "子阶段启用状态跟随父阶段"; $lang->programplan->reviewedPointTip = "该评审点已提交评审不能再操作"; +$lang->programplan->typeTip = "第一层级仅支持创建阶段,同一阶段下可以创建阶段或创建迭代/看板。迭代/看板不支持继续拆分。"; $lang->programplan->milestoneList[1] = '是'; $lang->programplan->milestoneList[0] = '否'; diff --git a/module/programplan/ui/create.html.php b/module/programplan/ui/create.html.php index 9461358ddf..cd8ab45190 100644 --- a/module/programplan/ui/create.html.php +++ b/module/programplan/ui/create.html.php @@ -136,6 +136,19 @@ $fnGenerateFields = function() use ($lang, $requiredFields, $showFields, $fields { $field['hidden'] = false; $field['items'] = $lang->execution->typeList; + if($project->model == 'waterfallplus') + { + $field['tipIcon'] = 'help'; + $field['tip'] = $lang->programplan->typeTip; + $field['tipProps'] = array + ( + 'id' => 'tooltipHover', + 'data-toggle' => 'tooltip', + 'data-placement' => 'right', + 'data-type' => 'white', + 'data-class-name' => 'text-gray border border-gray-300' + ); + } } if($name == 'attribute' && in_array($project->model, array('waterfall', 'waterfallplus')))