* Fix bug #16956.
This commit is contained in:
@@ -175,6 +175,7 @@ class mrModel extends model
|
||||
->setDefault('needCI', 0)
|
||||
->setDefault('editedBy', $this->app->user->account)
|
||||
->setDefault('editedDate', helper::now())
|
||||
->setIF($this->post->needCI == 0, 'jobID', 0)
|
||||
->get();
|
||||
$oldMR = $this->getByID($MRID);
|
||||
|
||||
|
||||
@@ -147,6 +147,9 @@
|
||||
<?php endif;?>
|
||||
</tbody>
|
||||
</table>
|
||||
<?php elseif($MR->needCI):?>
|
||||
<?php $compileUrl = $this->createLink('job', 'view', "jobID={$MR->jobID}");?>
|
||||
<div class='text-center'><?php echo html::a($compileUrl, $lang->compile->statusList[$MR->compileStatus], '_blank');?></div>
|
||||
<?php else:?>
|
||||
<div class='text-center'><?php echo $lang->mr->noCompileJob;?></div>
|
||||
<?php endif;?>
|
||||
|
||||
Reference in New Issue
Block a user