* Rename noExecution to noSprint.
* Optimize codes.
This commit is contained in:
@@ -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)'");?>
|
||||
|
||||
Reference in New Issue
Block a user