From ffe15a3b23c90aa0cefb86666ea4fb0e2c5808de Mon Sep 17 00:00:00 2001 From: tianshujie Date: Tue, 15 Mar 2022 09:54:53 +0800 Subject: [PATCH 1/2] * Fix bug #20751. --- module/block/view/recentprojectblock.html.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/block/view/recentprojectblock.html.php b/module/block/view/recentprojectblock.html.php index 612956d8a8..1052e2de46 100644 --- a/module/block/view/recentprojectblock.html.php +++ b/module/block/view/recentprojectblock.html.php @@ -97,7 +97,7 @@ executions ) ? '' : end($project->executions);?>
-

model == 'scrum' ? $lang->project->lastIteration : $lang->project->lastKanban;?>

+

type == 'kanban' ? $lang->project->lastKanban : $lang->project->lastIteration;?>

createLink('execution', 'task', "executionID={$project->id}"), $project->name);?>
From 305ec3c69abfe919fd54129bce1c4382276ec83e Mon Sep 17 00:00:00 2001 From: tianshujie Date: Tue, 15 Mar 2022 09:57:56 +0800 Subject: [PATCH 2/2] * Modify code location. --- module/block/view/recentprojectblock.html.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/block/view/recentprojectblock.html.php b/module/block/view/recentprojectblock.html.php index 1052e2de46..3868039d0a 100644 --- a/module/block/view/recentprojectblock.html.php +++ b/module/block/view/recentprojectblock.html.php @@ -97,8 +97,8 @@ executions ) ? '' : end($project->executions);?>
-

type == 'kanban' ? $lang->project->lastKanban : $lang->project->lastIteration;?>

+

type == 'kanban' ? $lang->project->lastKanban : $lang->project->lastIteration;?>

createLink('execution', 'task', "executionID={$project->id}"), $project->name);?>