* Rename noExecution to noSprint.

* Optimize codes.
This commit is contained in:
daitingting
2022-09-21 01:12:39 +00:00
parent 2ba6195c41
commit 8490bf7dbf
11 changed files with 28 additions and 32 deletions
+2 -2
View File
@@ -78,7 +78,7 @@ if($this->app->tab == 'project') js::set('objectID', $projectID);
</td>
</tr>
<?php $showExecution = (strpos(",$showFields,", ',execution,') !== false);?>
<?php $noExecution = (isset($config->projectMode) and $config->projectMode == 'noExecution');?>
<?php $noSprint = (isset($config->projectMode) and $config->projectMode == 'noSprint');?>
<tr>
<th>
<?php echo ($showExecution) ? $lang->bug->project : $lang->bug->type;?>
@@ -111,7 +111,7 @@ if($this->app->tab == 'project') js::set('objectID', $projectID);
<?php endif;?>
<?php if($showExecution):?>
<td>
<?php if(!$noExecution):?>
<?php if(!$noSprint):?>
<div class='table-row'>
<div class='table-col' id='projectBox'>
<?php echo html::select('project', $projects, $projectID, "class='form-control chosen' onchange='loadProductExecutions({$productID}, this.value)'");?>