* Adjust code.

This commit is contained in:
leiyong
2021-03-17 11:39:10 +08:00
parent c9dd75ef87
commit fb943e01bd
2 changed files with 3 additions and 2 deletions
+1
View File
@@ -70,6 +70,7 @@ $lang->execution->undone = '未完成';
$lang->execution->unclosed = '未关闭';
$lang->execution->typeDesc = "运维{$lang->executionCommon}没有{$lang->SRCommon}、bug、版本、测试功能。";
$lang->execution->mine = '我负责:';
$lang->execution->involved = '我参与:';
$lang->execution->other = '其他:';
$lang->execution->deleted = '已删除';
$lang->execution->delayed = '已延期';
+2 -2
View File
@@ -3559,7 +3559,7 @@ class executionModel extends model
$productPairs = $this->getStageLinkProductPairs($stageIdList);
$recentExecutions = isset($this->config->execution->recentExecutions) ? explode(',', $this->config->execution->recentExecutions) : array();
$allExecution = array('recent' => array(), 'mine' => array());
$allExecution = array('recent' => array(), 'involved' => array());
foreach($executions as $execution)
{
if($execution->type == 'stage') $execution->name = zget($projectPairs, $execution->project) . '/' . zget($productPairs, $execution->id) . '/' . $execution->name;
@@ -3570,7 +3570,7 @@ class executionModel extends model
$allExecution['recent'][$index] = $execution;
continue;
}
$allExecution['mine'][] = $execution;
$allExecution['involved'][] = $execution;
}
ksort($allExecution['recent']);