stable

Clone or download

Read-only

No admin mass change view if no available mirror

If a project cannot access to any mirror, then admins should not be able to masschange the mirroring for this projects (as of today they encounter an empty list of mirrors and it is not the best user experience ever). If there is no mirror available for a project, this change prevents access to the corresponding tab in `project ยป git ยป admin`. Implements: story #7709 - activate mirroring per project Change-Id: Ic792d92dae9f6f8c942a33d6c8e601afb95127e9

Modified Files

Name
M plugins/git/include/Git.class.php +55 โˆ’37 Go to diff View file
M plugins/git/include/GitPresenters/AdminGerritTemplatesPresenter.class.php +3 โˆ’2 Go to diff View file
M plugins/git/include/GitPresenters/AdminGitAdminsPresenter.class.php +3 โˆ’2 Go to diff View file
M plugins/git/include/GitPresenters/AdminMassUpdatePresenter.class.php +9 โˆ’3 Go to diff View file
M plugins/git/include/GitPresenters/AdminMassUpdateSelectRepositoriesPresenter.class.php +3 โˆ’2 Go to diff View file
M plugins/git/include/GitPresenters/AdminPresenter.php +8 โˆ’4 Go to diff View file
M plugins/git/include/GitViews.class.php +14 โˆ’9 Go to diff View file
M plugins/git/include/gitPlugin.class.php +5 โˆ’1 Go to diff View file
M plugins/git/templates/admin.mustache +10 โˆ’6 Go to diff View file
M plugins/git/tests/GitTest.php +3 โˆ’2 Go to diff View file