stable

Clone or download

Read-only

Do not always display Create PR button

Part of story #10409: have a burning parrot git repository view If user is anonymous, or if the repository is migrated to gerrit, then we should not display the "Create pull request" button. Change-Id: I4f1be4f573fbc5194fdc175bdb87c6370c5b7f86

Modified Files

Name
M plugins/git/include/Git/Repository/View/RepositoryHeaderPresenter.php +2 −0 Go to diff View file
M plugins/git/templates/repository/header.mustache +1 −0 Go to diff View file
M plugins/pullrequest/www/scripts/create-pullrequest-button/src/index.js +6 −1 Go to diff View file
M src/www/themes/BurningParrot/HeaderPresenter.php +4 −0 Go to diff View file
M src/www/themes/BurningParrot/templates/header.mustache +1 −1 Go to diff View file