Mercurial > kallithea
changeset 3200:89931a504fcf beta
remove comments associated to pull request from single changesets, it's too confusing.
Left are only ones that are status change so we can indicate where the status of this changeset came from
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Wed, 23 Jan 2013 20:54:05 +0100 |
parents | 9f57b5624ec4 |
children | 663f4f26776a |
files | rhodecode/templates/changeset/changeset_file_comment.html |
diffstat | 1 files changed, 4 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/rhodecode/templates/changeset/changeset_file_comment.html Wed Jan 23 20:22:08 2013 +0100 +++ b/rhodecode/templates/changeset/changeset_file_comment.html Wed Jan 23 20:54:05 2013 +0100 @@ -117,7 +117,11 @@ %for co in c.comments: <div id="comment-tr-${co.comment_id}"> + ## 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: ${comment_block(co)} + %endif </div> %endfor </div>