ux: add comments id to comments form so that linking to comments works
This commit is contained in:
parent
ff43cde4e1
commit
5cd9d5aa6c
1 changed files with 2 additions and 0 deletions
|
|
@ -165,6 +165,7 @@
|
|||
|
||||
## generate main comments
|
||||
<%def name="generate_comments(include_pull_request=False, is_pull_request=False)">
|
||||
<div id="comments">
|
||||
%for comment in c.comments:
|
||||
<div id="comment-tr-${comment.comment_id}">
|
||||
## only render comments that are not from pull request, or from
|
||||
|
|
@ -176,6 +177,7 @@
|
|||
%endfor
|
||||
## to anchor ajax comments
|
||||
<div id="injected_page_comments"></div>
|
||||
</div>
|
||||
</%def>
|
||||
|
||||
## MAIN COMMENT FORM
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue