# HG changeset patch # User Marcin Kuzminski # Date 2020-07-09 09:21:37 # Node ID eb21bda0d6ce042590a5d80b580cae6986ca6369 # Parent fa36200030acd7028c96f1c29b0c0a822228c3c1 pull-requests: don't show new commits info box on closed PRs diff --git a/rhodecode/templates/pullrequests/pullrequest_show.mako b/rhodecode/templates/pullrequests/pullrequest_show.mako --- a/rhodecode/templates/pullrequests/pullrequest_show.mako +++ b/rhodecode/templates/pullrequests/pullrequest_show.mako @@ -471,13 +471,11 @@ - % elif c.pr_merge_source_commit.changed: + % elif c.pr_merge_source_commit.changed and not c.pull_request.is_closed():
- % if c.pr_merge_source_commit.changed: ${_('There are new changes for `{}:{}` in source repository, please consider updating this pull request.').format(c.pr_merge_source_commit.ref_spec.type, c.pr_merge_source_commit.ref_spec.name)} - % endif