This commit is contained in:
liumengyi
2023-03-01 07:44:17 +00:00
parent 1290b01c85
commit fcf2ca081f
4 changed files with 12 additions and 9 deletions
+6 -6
View File
@@ -87,19 +87,19 @@
</div>
</td>
</tr>
<?php if($execution->type != 'kanban'):?>
<?php if($execution->type != 'kanban' or $project->model == 'waterfall' or $project->model == 'waterfallplus'):?>
<tr>
<th><?php echo $lang->execution->type;?></th>
<td>
<?php
if($execution->type != 'stage')
{
echo html::select('lifetime', $lang->execution->lifeTimeList, $execution->lifetime, "class='form-control' onchange='showLifeTimeTips()'");
}
else
if($project->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()'");
}
?>
</td>
<td>