-
Notifications
You must be signed in to change notification settings - Fork 2.9k
/
comment-stream_tpl.jst.hbs
30 lines (27 loc) · 1.08 KB
/
comment-stream_tpl.jst.hbs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
{{#unless all_comments_loaded}}
<div class="show_comments comment {{#unless showExpandCommentsLink}} hidden {{/unless}}">
<div class="media">
<a href="/posts/{{id}}/comments" class="toggle_post_comments">
{{t "stream.more_comments" count=moreCommentsCount}}
</a>
</div>
</div>
{{/unless}}
<div class="comments"> </div>
{{#if loggedIn}}
<div class="comment no-border media new_comment_form_wrapper {{#unless commentsCount}} hidden {{/unless}}">
{{#with current_user}}
<a href="/people/{{guid}}" class="img">
{{{personImage this}}}
</a>
{{/with}}
<div class="bd">
<form accept-charset="UTF-8" action="/posts/{{id}}/comments" class="new_comment" id="new_comment_on_{{id}}" method="post">
<textarea class="comment_box" id="comment_text_on_{{id}}" name="text" rows="2" placeholder="{{t "stream.comment"}}" />
<div class="submit_button">
<input class="button creation" id="comment_submit_{{id}}" name="commit" type="submit" value="{{t "stream.comment"}}" />
</div>
</form>
</div>
</div>
{{/if}}