* Modify edit mr.

This commit is contained in:
caoyanyi
2022-08-11 14:26:04 +08:00
parent 6e16aeaea5
commit 22a6755bfe
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -50,7 +50,7 @@
<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'):?>
<?php if($MR->status == 'merged' or $MR->status == 'closed' or $host->type == 'gogs'):?>
<span class='fix-border text-left'>
<?php echo $host->type == 'gitlab' ? $this->loadModel('gitlab')->apiGetSingleProject($MR->hostID, $MR->targetProject)->name_with_namespace : $MR->targetProject;?>:
<?php echo $MR->targetBranch;?>