stable

Clone or download

Read-only

Do not display Hierarchy pane if no gerrit servers

This is part of story #10061: new project admin homepage and navigation How to test: - Authorize your project to use a Gerrit server (or authorize all projects). You should see the hierarchy pane. - When your platform can't use Gerrit, you should not see the hiearchy pane. Change-Id: I63b402728bb0413917c6d9024841a2bcc3734bf3

Modified Files

Name
M plugins/git/include/Git.class.php +1 −1 Go to diff View file
M plugins/git/include/Git/RemoteServer/GerritCanMigrateChecker.php +3 −2 Go to diff View file
M plugins/git/include/GitViews/RepoManagement/Pane/Gerrit.class.php +1 −1 Go to diff View file
M plugins/git/include/gitPlugin.class.php +11 −0 Go to diff View file
M plugins/git/tests/Git/RemoteServer/GerritCanMigrateCheckerTest.php +7 −7 Go to diff View file
M plugins/git/tests/GitTest.php +40 −30 Go to diff View file
M src/common/autoload.php +3 −2 Go to diff View file
M src/common/project/Admin/ProjectDetails/ProjectDetailsController.php +8 −2 Go to diff View file
M src/common/project/Admin/ProjectDetails/ProjectDetailsPresenter.php +1 −1 Go to diff View file
M src/common/project/Admin/ProjectDetails/ProjectHierarchyPresenter.php +4 −1 Go to diff View file
A src/common/project/HierarchyDisplayer.php +61 −0 Go to diff View file
M src/templates/project/project-details.mustache +3 −1 Go to diff View file
M src/www/project/admin/editgroupinfo.php +1 −1 Go to diff View file