Show More
@@ -108,7 +108,7 b'' | |||||
108 | </%def> |
|
108 | </%def> | |
109 |
|
109 | |||
110 | ## generate inline comments and the main ones |
|
110 | ## generate inline comments and the main ones | |
111 | <%def name="generate_comments()"> |
|
111 | <%def name="generate_comments(include_pr=False)"> | |
112 | <div class="comments"> |
|
112 | <div class="comments"> | |
113 | <div id="inline-comments-container"> |
|
113 | <div id="inline-comments-container"> | |
114 | ## generate inlines for this changeset |
|
114 | ## generate inlines for this changeset | |
@@ -119,7 +119,7 b'' | |||||
119 | <div id="comment-tr-${co.comment_id}"> |
|
119 | <div id="comment-tr-${co.comment_id}"> | |
120 | ## only render comments that are not from pull request, or from |
|
120 | ## only render comments that are not from pull request, or from | |
121 | ## pull request and a status change |
|
121 | ## pull request and a status change | |
122 | %if not co.pull_request or co.pull_request and co.status_change: |
|
122 | %if not co.pull_request or (co.pull_request and co.status_change) or include_pr: | |
123 | ${comment_block(co)} |
|
123 | ${comment_block(co)} | |
124 | %endif |
|
124 | %endif | |
125 | </div> |
|
125 | </div> |
@@ -177,7 +177,7 b'' | |||||
177 | ${comment.comment_inline_form()} |
|
177 | ${comment.comment_inline_form()} | |
178 |
|
178 | |||
179 | ## render comments and inlines |
|
179 | ## render comments and inlines | |
180 | ${comment.generate_comments()} |
|
180 | ${comment.generate_comments(include_pr=True)} | |
181 |
|
181 | |||
182 | % if not c.pull_request.is_closed(): |
|
182 | % if not c.pull_request.is_closed(): | |
183 | ## main comment form and it status |
|
183 | ## main comment form and it status |
General Comments 0
You need to be logged in to leave comments.
Login now