* Fix feedback feedback2204.

This commit is contained in:
chaideqing
2023-02-16 11:59:17 +08:00
parent d2de5abe26
commit b3eeb70b26
7 changed files with 18 additions and 4 deletions
+3 -1
View File
@@ -2171,7 +2171,9 @@ class project extends control
$this->loadModel('program');
$this->loadModel('execution');
$project = $this->project->getById($projectID);
$project = $this->project->getById($projectID);
if(!$project->hasProduct) return print(js::error($this->lang->project->cannotManageProducts) . js::locate('back'));
$executions = $this->execution->getPairs($projectID);
if(!empty($_POST))
+3 -1
View File
@@ -384,4 +384,6 @@ $lang->project->copyProject->endTips = '『Schedule End』Cannot be e
$lang->project->copyProject->daysTips = '『Available working days』Should be numerical.';
$lang->project->linkBranchStoryByPlanTips = "When the project is scheduled to associate requirements, only the activated requirements associated with the %s of the project are imported.";
$lang->project->linkNormalStoryByPlanTips = "When the project plans to associate requirements, only the requirements that are active are imported.";
$lang->project->linkNormalStoryByPlanTips = "When the project plans to associate requirements, only the requirements that are active are imported.";
$lang->project->cannotManageProducts = "This project is a project-type project and cannot be associated with products.";
+3 -1
View File
@@ -384,4 +384,6 @@ $lang->project->copyProject->endTips = '『Schedule End』Cannot be e
$lang->project->copyProject->daysTips = '『Available working days』Should be numerical.';
$lang->project->linkBranchStoryByPlanTips = "When the project is scheduled to associate requirements, only the activated requirements associated with the %s of the project are imported.";
$lang->project->linkNormalStoryByPlanTips = "When the project plans to associate requirements, only the requirements that are active are imported.";
$lang->project->linkNormalStoryByPlanTips = "When the project plans to associate requirements, only the requirements that are active are imported.";
$lang->project->cannotManageProducts = "This project is a project-type project and cannot be associated with products.";
+3 -1
View File
@@ -384,4 +384,6 @@ $lang->project->copyProject->endTips = '『Schedule End』Cannot be e
$lang->project->copyProject->daysTips = '『Available working days』Should be numerical.';
$lang->project->linkBranchStoryByPlanTips = "When the project is scheduled to associate requirements, only the activated requirements associated with the %s of the project are imported.";
$lang->project->linkNormalStoryByPlanTips = "When the project plans to associate requirements, only the requirements that are active are imported.";
$lang->project->linkNormalStoryByPlanTips = "When the project plans to associate requirements, only the requirements that are active are imported.";
$lang->project->cannotManageProducts = "This project is a project-type project and cannot be associated with products.";
+2
View File
@@ -373,3 +373,5 @@ $lang->project->action = new stdclass();
$lang->project->action->managed = '$date, managed by <strong>$actor</strong>. $extra' . "\n";
$lang->project->multiple = "Multi {$lang->executionCommon}";
$lang->project->cannotManageProducts = "This project is a project-type project and cannot be associated with products.";
+2
View File
@@ -385,3 +385,5 @@ $lang->project->copyProject->daysTips = '『可用工作日』应当
$lang->project->linkBranchStoryByPlanTips = "项目按计划关联需求时,只导入本项目所关联%s的激活状态的需求。";
$lang->project->linkNormalStoryByPlanTips = "项目按计划关联需求时,只导入激活状态的需求。";
$lang->project->cannotManageProducts = "该项目为项目型项目,不能关联产品。";
+2
View File
@@ -300,3 +300,5 @@ $lang->project->confirmUnlinkMember = "您確定從該項目中移除該用戶
$lang->project->action = new stdclass();
$lang->project->action->managed = '$date, 由 <strong>$actor</strong> 維護。$extra' . "\n";
$lang->project->cannotManageProducts = "該項目為項目型項目,不能關聯產品。";