+ Add tips for gitea and gogs mr.

This commit is contained in:
caoyanyi
2024-05-23 14:22:14 +08:00
parent 2050b65f41
commit 84b74a00a0
6 changed files with 7 additions and 1 deletions
+1 -1
View File
@@ -331,8 +331,8 @@ class mr extends control
$this->view->title = $this->lang->mr->view;
$this->view->MR = $MR;
$this->view->repoID = $MR->repoID;
$this->view->rawMR = isset($rawMR) ? $rawMR : false;
$this->view->repo = $this->loadModel('repo')->getByID($MR->repoID);
$this->view->reviewer = $this->loadModel('user')->getById($MR->assignee);
$this->view->actions = $this->loadModel('action')->getList('mr', $MRID);
$this->view->compile = $compile;