From 4431f52f1e1c14321a7f200effa78c654efddf71 Mon Sep 17 00:00:00 2001 From: xiawenlong Date: Thu, 18 Nov 2021 16:25:17 +0800 Subject: [PATCH] * Add gitlab browse title --- module/gitlab/control.php | 3 +++ module/gitlab/view/browseproject.html.php | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/module/gitlab/control.php b/module/gitlab/control.php index 41799adb97..e55580d27c 100644 --- a/module/gitlab/control.php +++ b/module/gitlab/control.php @@ -591,6 +591,9 @@ class gitlab extends control $result = $this->gitlab->apiGetProjects($gitlabID, $keyword, $pager); + $gitlab = $this->gitlab->getByID($gitlabID); + + $this->view->gitlab = $gitlab; $this->view->keyword = $keyword; $this->view->pager = $result['pager']; $this->view->title = $this->lang->gitlab->common . $this->lang->colon . $this->lang->gitlab->browseProject; diff --git a/module/gitlab/view/browseproject.html.php b/module/gitlab/view/browseproject.html.php index 7710966ee5..68b0f11426 100644 --- a/module/gitlab/view/browseproject.html.php +++ b/module/gitlab/view/browseproject.html.php @@ -15,7 +15,7 @@