* [refac bug #61491,61497] show tip for ipd enabled.

This commit is contained in:
wangyidong
2025-04-15 15:10:34 +08:00
committed by 刘刚
parent af2305dafd
commit fa18bb69b3
6 changed files with 7 additions and 1 deletions
+2 -1
View File
@@ -250,7 +250,8 @@ window.handleRenderRow = function($row, index, data)
if($enabled.length > 0 && !$enabled.hasClass('hidden'))
{
const $checkbox = $enabled.find('input[type=checkbox]');
if(level > 0) $checkbox.attr('disabled', 'disabled').attr('title', cropStageTip);
if(data != undefined && data.status != undefined && data.status != 'wait') $checkbox.attr('disabled', 'disabled').attr('title', cropStageTip);
if(level > 0) $checkbox.attr('disabled', 'disabled').attr('title', childEnabledTip);
if($enabled.find('input.hidden').length == 0) $enabled.append("<input type='hidden' name='" + $checkbox.attr('name') + "' value='on' class='hidden'/>")
+1
View File
@@ -90,6 +90,7 @@ $lang->programplan->checkBegin = '『Begin』should be valid date';
$lang->programplan->checkEnd = '『End』should be valid date';
$lang->programplan->methodTip = "You can choose to continue creating stages or {$lang->executionCommon}/Kanban for work in this stage. It's not supported to further split the {$lang->executionCommon}/Kanban.";
$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->milestoneList[1] = 'Yes';
+1
View File
@@ -90,6 +90,7 @@ $lang->programplan->checkBegin = '『Begin』should be valid date';
$lang->programplan->checkEnd = '『End』should be valid date';
$lang->programplan->methodTip = "You can choose to continue creating stages or {$lang->executionCommon}/Kanban for work in this stage. It's not supported to further split the {$lang->executionCommon}/Kanban.";
$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->milestoneList[1] = 'Yes';
+1
View File
@@ -90,6 +90,7 @@ $lang->programplan->checkBegin = '『Begin』should be valid date';
$lang->programplan->checkEnd = '『End』should be valid date';
$lang->programplan->methodTip = "You can choose to continue creating stages or {$lang->executionCommon}/Kanban for work in this stage. It's not supported to further split the {$lang->executionCommon}/Kanban.";
$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->milestoneList[1] = 'Yes';
+1
View File
@@ -90,6 +90,7 @@ $lang->programplan->checkBegin = '『计划开始』应当为合法的日
$lang->programplan->checkEnd = '『计划完成』应当为合法的日期';
$lang->programplan->methodTip = "您可以在该阶段下选择继续创建阶段或创建{$lang->executionCommon}/看板进行工作。{$lang->executionCommon}/看板不支持继续拆分。";
$lang->programplan->cropStageTip = "已经开始了的阶段不能再裁剪";
$lang->programplan->childEnabledTip = "子阶段启用状态跟随父阶段";
$lang->programplan->reviewedPointTip = "该评审点已提交评审不能再操作";
$lang->programplan->milestoneList[1] = '是';
+1
View File
@@ -225,6 +225,7 @@ jsVar('initType', ($planID && $plans) ? reset($plans)->type : 'stage');
jsVar('planGrade', $programPlan ? $programPlan->grade + 1 : 1);
jsVar('syncData', $syncData);
jsVar('cropStageTip', $lang->programplan->cropStageTip);
jsVar('childEnabledTip', $lang->programplan->childEnabledTip);
jsVar('typeList', $lang->execution->typeList);
jsVar('confirmCreateTip', $lang->project->confirmCreateStage);
jsVar('errorLang', $lang->programplan->error);