From 8b41edadbf125d6420a358d2904ebf3413b9aa72 Mon Sep 17 00:00:00 2001 From: Yagami Date: Thu, 20 Oct 2022 10:11:09 +0800 Subject: [PATCH] * Show create testreport btn in waterfall project. --- module/project/view/testtask.html.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/module/project/view/testtask.html.php b/module/project/view/testtask.html.php index 00f5400a4f..5e28abe0af 100644 --- a/module/project/view/testtask.html.php +++ b/module/project/view/testtask.html.php @@ -60,7 +60,7 @@ testtask->begin);?> testtask->end);?> statusAB);?> - text-center'>actions;?> + actions;?> @@ -102,7 +102,7 @@ { common::printIcon('testtask', 'cases', "taskID=$task->id", $task, 'list', 'sitemap'); common::printIcon('testtask', 'linkCase', "taskID=$task->id", $task, 'list', 'link'); - if(common::hasPriv('execution', 'testreport') and $project->model == 'scrum') + if(common::hasPriv('execution', 'testreport')) { echo html::a($this->createLink('execution', 'testreport', "executionID=$task->execution&objectType=execution&extra=$task->id"), '', '', 'class="btn " title="' . $lang->testreport->browse . '" data-app="project"'); }