* [tips] add tips in waterfall plus project.

This commit is contained in:
sunguangming
2025-06-06 03:25:55 +00:00
parent cedcc0ebd3
commit d2fda5ecd0
5 changed files with 17 additions and 0 deletions
+1
View File
@@ -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';
+1
View File
@@ -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';
+1
View File
@@ -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';
+1
View File
@@ -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] = '否';
+13
View File
@@ -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')))