diff --git a/rhodecode/templates/changeset/changeset_file_comment.html b/rhodecode/templates/changeset/changeset_file_comment.html --- a/rhodecode/templates/changeset/changeset_file_comment.html +++ b/rhodecode/templates/changeset/changeset_file_comment.html @@ -108,7 +108,7 @@ ## generate inline comments and the main ones -<%def name="generate_comments()"> +<%def name="generate_comments(include_pr=False)">
## generate inlines for this changeset @@ -119,7 +119,7 @@
## only render comments that are not from pull request, or from ## pull request and a status change - %if not co.pull_request or co.pull_request and co.status_change: + %if not co.pull_request or (co.pull_request and co.status_change) or include_pr: ${comment_block(co)} %endif