stable

Clone or download

Read-only

request #9737: The pull requests badge should only display the number of open pull requests

How to test this: - Go to a git repo details - The "# pull requests" badge should only count the open (not merged and not abandoned) pull requests. - When you navigate to the pull request dashboard, the number should correspond to the loaded pull requests (closed PRs are not loaded by default) - The title of the badge in the pull request dashboard should also be fixed (it was not interpreted) Change-Id: Ie6fd5501675586f2ca55b42f6d023f51b1342d76

Modified Files

Name
M include/PullRequest/Dao.php +7 −3 Go to diff View file
M include/PullRequest/Factory.php +3 −3 Go to diff View file
M include/pullrequestPlugin.class.php +2 −2 Go to diff View file
M www/js/angular/src/app/button-back/button-back-controller.js +3 −7 Go to diff View file
M www/js/angular/src/app/button-back/button-back.tpl.html +1 −1 Go to diff View file