* Show unsupported feature tip for Gogs.

This commit is contained in:
dingguodong
2024-04-23 17:33:03 +08:00
parent cfb2393e31
commit bb0362bcbc
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -840,6 +840,7 @@ class mr extends control
}
$this->view->commitLogs = $commitLogs;
$this->view->repo = $repo;
$this->display();
}
+1 -1
View File
@@ -114,7 +114,7 @@ panel
)
)
),
empty($commitLogs) ? p(setClass('detail-content'), $lang->mr->noChanges) : div(
empty($commitLogs) ? p(setClass('detail-content'), in_array(strtolower($repo->SCM), array('gogs')) ? $lang->mr->unsupportedFeature : $lang->mr->noChanges) : div(
dtable
(
set::cols($config->mr->commitLogs->dtable->fieldList),