File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11<%#
2- Renders new comment thread button & modal
2+ " Renders new comment thread button & modal
33
4- Variables:
5- post : post to create a new thread for
6- text : text to display on the button
7- user : user that will create a new thread
8- %>
4+ Variables:
5+ post : post to create a new thread for
6+ text : text to display on the button
7+ user : user that will create a new thread
8+ " %>
99
1010<%
1111 can_comment = user.can_comment_on?(post)
Original file line number Diff line number Diff line change 11<%#
22 "Helper for rendering comment thread rename action modal
33
4- Variables:
5- thread : Comment thread to create the modal for
4+ Variables:
5+ thread : Comment thread to create the modal for
66"%>
77
88< div class ="modal is-with-backdrop is-small js--rename-thread- <%= thread . id %> ">
Original file line number Diff line number Diff line change 11<%#
2- Renders reply to comment thread button & input
2+ " Renders reply to comment thread button & input
33
4- Variables:
5- inline : whether the reply is done via inline thread view
6- post : post the thread is for
7- text : text to display on the button
8- thread : thread to create a reply for
9- user : user that will create a reply to the thread
10- %>
4+ Variables:
5+ inline : whether the reply is done via inline thread view
6+ post : post the thread is for
7+ text : text to display on the button
8+ thread : thread to create a reply for
9+ user : user that will create a reply to the thread
10+ " %>
1111
1212<%
1313 # TODO: make configurable
Original file line number Diff line number Diff line change 11<%#
2- Renders widgets indicating that deleted comments are not shown
2+ " Renders widgets indicating that deleted comments are not shown
33
44 Variables:
55 num_skipped : number of skipped deleted comments
66 inline : whether the thread is shown inline or not
77 thread : CommentThread to display the widget for
8- %>
8+ " %>
99
1010< div class ="widget--body widget--deleted-comments " role ="listitem ">
1111 < p >
You can’t perform that action at this time.
0 commit comments