* Finish task#50669,50670
This commit is contained in:
@@ -50,10 +50,17 @@
|
||||
<th style="white-space: nowrap;"><?php echo $lang->mr->targetProject;?></th>
|
||||
<td>
|
||||
<div class='input-group'>
|
||||
<?php if($MR->status == 'merged' or $MR->status == 'closed'):?>
|
||||
<span class='fix-border text-left'>
|
||||
<?php echo $this->loadModel('gitlab')->apiGetSingleProject($MR->gitlabID, $MR->targetProject)->name_with_namespace;?>:
|
||||
<?php echo $MR->targetBranch;?>
|
||||
</span>
|
||||
<?php else:?>
|
||||
<span class='input-group-addon fix-border'>
|
||||
<?php echo $this->loadModel('gitlab')->apiGetSingleProject($MR->gitlabID, $MR->targetProject)->name_with_namespace;?>
|
||||
</span>
|
||||
<?php echo html::select('targetBranch', $targetBranchList, $MR->targetBranch, "class='form-control chosen'");?>
|
||||
<?php endif;?>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
Reference in New Issue
Block a user