* Show unsupported feature tip for Gogs.
This commit is contained in:
@@ -840,6 +840,7 @@ class mr extends control
|
||||
}
|
||||
|
||||
$this->view->commitLogs = $commitLogs;
|
||||
$this->view->repo = $repo;
|
||||
$this->display();
|
||||
}
|
||||
|
||||
|
||||
@@ -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),
|
||||
|
||||
Reference in New Issue
Block a user