##// END OF EJS Templates
ux: add comments id to comments form so that linking to comments works
dan -
r1184:0e3d172c default
parent child Browse files
Show More
@@ -165,6 +165,7 b''
165
165
166 ## generate main comments
166 ## generate main comments
167 <%def name="generate_comments(include_pull_request=False, is_pull_request=False)">
167 <%def name="generate_comments(include_pull_request=False, is_pull_request=False)">
168 <div id="comments">
168 %for comment in c.comments:
169 %for comment in c.comments:
169 <div id="comment-tr-${comment.comment_id}">
170 <div id="comment-tr-${comment.comment_id}">
170 ## only render comments that are not from pull request, or from
171 ## only render comments that are not from pull request, or from
@@ -176,6 +177,7 b''
176 %endfor
177 %endfor
177 ## to anchor ajax comments
178 ## to anchor ajax comments
178 <div id="injected_page_comments"></div>
179 <div id="injected_page_comments"></div>
180 </div>
179 </%def>
181 </%def>
180
182
181 ## MAIN COMMENT FORM
183 ## MAIN COMMENT FORM
General Comments 0
You need to be logged in to leave comments. Login now