* Correct the issue that when the MR is deleted in GitLab.
This commit is contained in:
@@ -11,6 +11,18 @@
|
||||
<?php include '../../common/view/header.html.php';?>
|
||||
<?php js::set('gitlabID', $MR->gitlabID);?>
|
||||
<?php js::set('projectID', $MR->sourceProject);?>
|
||||
<!-- If this mr is deleted in GitLab, then show this part to user. -->
|
||||
<?php if(empty($rawMR) or !isset($rawMR->id)): ?>
|
||||
<div id='mainContent'>
|
||||
<div class="table-empty-tip">
|
||||
<p>
|
||||
<span class="text-muted"><?php echo $lang->mr->notFound; ?></span>
|
||||
<?php echo html::a($this->createLink('mr', 'browse'), "<i class='icon icon-plus'></i> " . $lang->mr->browse, '', "class='btn btn-info'"); ?>
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
<?php die; endif;?>
|
||||
|
||||
<div id='mainContent' class='main-row'>
|
||||
<div class='main-col main-content'>
|
||||
<div class='center-block'>
|
||||
|
||||
Reference in New Issue
Block a user