diff --git a/module/bug/view/ajaxgetdropmenu.html.php b/module/bug/view/ajaxgetdropmenu.html.php index 1e41d00e47..b357ba8535 100644 --- a/module/bug/view/ajaxgetdropmenu.html.php +++ b/module/bug/view/ajaxgetdropmenu.html.php @@ -21,12 +21,12 @@ $productsHtml = (count($products) > 1 and strpos(',zeroCase,browseUnits,groupC foreach($products as $product) { - $selected = $product->id == $productID ? 'selected' : ''; + $selected = $product->id == $productID ? 'selected' : 'text-primary'; $productName = ($product->program and $this->config->systemMode == 'ALM') ? zget($programs, $product->program, '') . '/' : ''; $productName .= ($this->config->systemMode == 'ALM' and $product->line) ? zget($lines, $product->line, '') . '/' . $product->name : $product->name; $objectID = ($product->type != 'platform' && $module == 'branch' && $method == 'manage') ? $productID : $product->id; $linkHtml = $this->product->setParamsForLink($module, $link, $projectID, $product->id); - $productsHtml .= html::a($linkHtml, $productName, '', "class='text-primary $selected' title='{$productName}' data-key='" . zget($productsPinYin, $product->name, '') . "' data-app='{$this->app->tab}'"); + $productsHtml .= html::a($linkHtml, $productName, '', "class='$selected' title='{$productName}' data-key='" . zget($productsPinYin, $product->name, '') . "' data-app='{$this->app->tab}'"); } ?>
diff --git a/module/execution/lang/de.php b/module/execution/lang/de.php index 53602f7928..166462e62e 100644 --- a/module/execution/lang/de.php +++ b/module/execution/lang/de.php @@ -151,7 +151,7 @@ $lang->execution->left = 'Left'; $lang->execution->copyTeamTip = "copy {$lang->projectCommon}/{$lang->execution->common} team members"; $lang->execution->daysGreaterProject = 'Days cannot be greater than days of execution 『%s』'; $lang->execution->errorHours = 'Hours/Day cannot be greater than『24』'; -$lang->execution->agileplusMethodTip = "When creating executions in an Agile Plus {$lang->projectCommon}, both Iteration and Kanban management methods are supported."; +$lang->execution->agileplusMethodTip = "When creating executions in an Agile Plus {$lang->projectCommon}, both {$lang->executionCommon} and Kanban management methods are supported."; $lang->execution->typeTip = "The sub-stages of other types can be created under the parent stage of the 'mix' type, while the type of other parent-child levels is consistent."; $lang->execution->waterfallTip = "In the Waterfall {$lang->projectCommon} or in the Waterfall + {$lang->projectCommon},"; diff --git a/module/execution/lang/en.php b/module/execution/lang/en.php index e4573713aa..e83738260f 100644 --- a/module/execution/lang/en.php +++ b/module/execution/lang/en.php @@ -151,7 +151,7 @@ $lang->execution->left = 'Left'; $lang->execution->copyTeamTip = "copy {$lang->projectCommon}/{$lang->execution->common} team members"; $lang->execution->daysGreaterProject = 'Days cannot be greater than days of execution 『%s』'; $lang->execution->errorHours = 'Hours/Day cannot be greater than『24』'; -$lang->execution->agileplusMethodTip = "When creating executions in an Agile Plus {$lang->projectCommon}, both Iteration and Kanban management methods are supported."; +$lang->execution->agileplusMethodTip = "When creating executions in an Agile Plus {$lang->projectCommon}, both {$lang->executionCommon} and Kanban management methods are supported."; $lang->execution->typeTip = "The sub-stages of other types can be created under the parent stage of the 'mix' type, while the type of other parent-child levels is consistent."; $lang->execution->waterfallTip = "In the Waterfall {$lang->projectCommon} or in the Waterfall + {$lang->projectCommon},"; diff --git a/module/execution/lang/fr.php b/module/execution/lang/fr.php index c77f54024d..182e5766da 100644 --- a/module/execution/lang/fr.php +++ b/module/execution/lang/fr.php @@ -151,7 +151,7 @@ $lang->execution->left = 'Left'; $lang->execution->copyTeamTip = "copy {$lang->projectCommon}/{$lang->execution->common} team members"; $lang->execution->daysGreaterProject = 'Days cannot be greater than days of execution 『%s』'; $lang->execution->errorHours = 'Hours/Day cannot be greater than『24』'; -$lang->execution->agileplusMethodTip = "When creating executions in an Agile Plus {$lang->projectCommon}, both Iteration and Kanban management methods are supported."; +$lang->execution->agileplusMethodTip = "When creating executions in an Agile Plus {$lang->projectCommon}, both {$lang->executionCommon} and Kanban management methods are supported."; $lang->execution->typeTip = "The sub-stages of other types can be created under the parent stage of the 'mix' type, while the type of other parent-child levels is consistent."; $lang->execution->waterfallTip = "In the Waterfall {$lang->projectCommon} or in the Waterfall + {$lang->projectCommon},"; diff --git a/module/execution/lang/zh-cn.php b/module/execution/lang/zh-cn.php index cbdd12c0a4..b5fc440213 100644 --- a/module/execution/lang/zh-cn.php +++ b/module/execution/lang/zh-cn.php @@ -151,7 +151,7 @@ $lang->execution->left = '剩余'; $lang->execution->copyTeamTip = "可以选择复制{$lang->projectCommon}或{$lang->execution->common}团队的成员"; $lang->execution->daysGreaterProject = '可用工日不能大于执行的可用工日『%s』'; $lang->execution->errorHours = '可用工时/天不能大于『24』'; -$lang->execution->agileplusMethodTip = "融合敏捷{$lang->projectCommon}创建执行时,支持迭代和看板两种管理方法。"; +$lang->execution->agileplusMethodTip = "融合敏捷{$lang->projectCommon}创建执行时,支持{$lang->executionCommon}和看板两种管理方法。"; $lang->execution->typeTip = '“综合”类型的父阶段可以创建其它类型的子级,其它父子层级的类型均一致。'; $lang->execution->waterfallTip = "瀑布{$lang->projectCommon}和融合瀑布{$lang->projectCommon}中,"; diff --git a/module/product/model.php b/module/product/model.php index b7cfa31fb5..56c6dd65df 100755 --- a/module/product/model.php +++ b/module/product/model.php @@ -1488,6 +1488,7 @@ class productModel extends model $executionName = $projectID != 0 ? '' : $execution->projectName; foreach($paths as $path) { + if(!isset($allExecutions[$path])) continue; $executionName .= '/' . $allExecutions[$path]->name; }