From c5083612cb1ea8d315353e3d840a28a07542e4c0 Mon Sep 17 00:00:00 2001 From: liumengyi Date: Tue, 21 Mar 2023 02:31:54 +0000 Subject: [PATCH] * Fix bug #33127. --- module/execution/view/edit.html.php | 22 ++++++++++------------ 1 file changed, 10 insertions(+), 12 deletions(-) diff --git a/module/execution/view/edit.html.php b/module/execution/view/edit.html.php index 9e25912f80..e3b878b4ef 100644 --- a/module/execution/view/edit.html.php +++ b/module/execution/view/edit.html.php @@ -87,25 +87,23 @@ - type != 'kanban' or $project->model == 'waterfall' or $project->model == 'waterfallplus'):?> + model == 'waterfall' or $project->model == 'waterfallplus'):?> - execution->type;?> + stage->type;?> - model == 'waterfall' or $project->model == 'waterfallplus') - { - echo $enableOptionalAttr ? html::select('attribute', $lang->stage->typeList, $execution->attribute, "class='form-control chosen'") : zget($lang->stage->typeList, $execution->attribute); - } - elseif($execution->type != 'kanban') - { - echo html::select('lifetime', $lang->execution->lifeTimeList, $execution->lifetime, "class='form-control' onchange='showLifeTimeTips()'"); - } - ?> + stage->typeList, $execution->attribute, "class='form-control chosen'") : zget($lang->stage->typeList, $execution->attribute); ?> + type != 'kanban'):?> + + execution->type;?> + + execution->lifeTimeList, $execution->lifetime, "class='form-control' onchange='showLifeTimeTips()'"); ?> + + execution->teamname;?>