comparison rhodecode/templates/pullrequests/pullrequest_show.html @ 3229:aad51f79d040 beta

added a flag for generating pull-request comments, and force display on pull-requests
author Marcin Kuzminski <marcin@python-works.com>
date Sat, 26 Jan 2013 21:21:11 +0100
parents 81bbb8086f03
children 0dfe7eaf21cb
comparison
equal deleted inserted replaced
3228:ba2e2514a01a 3229:aad51f79d040
175 ## template for inline comment form 175 ## template for inline comment form
176 <%namespace name="comment" file="/changeset/changeset_file_comment.html"/> 176 <%namespace name="comment" file="/changeset/changeset_file_comment.html"/>
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
184 ${comment.comments(h.url('pullrequest_comment', repo_name=c.repo_name, 184 ${comment.comments(h.url('pullrequest_comment', repo_name=c.repo_name,
185 pull_request_id=c.pull_request.pull_request_id), 185 pull_request_id=c.pull_request.pull_request_id),