Skip to content

Commit 9a38879

Browse files
committed
minor cleanup of comment-related view comments
1 parent 1d02261 commit 9a38879

4 files changed

Lines changed: 18 additions & 18 deletions

File tree

app/views/comments/_new_thread.html.erb

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
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)

app/views/comments/_rename_thread_modal.html.erb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
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 %>">

app/views/comments/_reply_to_thread.html.erb

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
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

app/views/comments/_skip_deleted.erb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
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>

0 commit comments

Comments
 (0)