# HG changeset patch # User Marcin Kuzminski # Date 2016-06-10 07:55:21 # Node ID a692d19003e3ed80c2003915b6bf201a5669bdd3 # Parent 39909ebb3483d0940f1f8839f00f8f7c13a642f3 pull-requests: add a success flash when PR was merged diff --git a/rhodecode/controllers/pullrequests.py b/rhodecode/controllers/pullrequests.py --- a/rhodecode/controllers/pullrequests.py +++ b/rhodecode/controllers/pullrequests.py @@ -590,6 +590,8 @@ class PullrequestsController(BaseRepoCon PullRequestModel().close_pull_request( pull_request.pull_request_id, user) Session().commit() + msg = _('Pull request was successfully merged and closed.') + h.flash(msg, category='success') else: log.debug( "The merge was not successful. Merge response: %s",