Welcome to mirror list, hosted at ThFree Co, Russian Federation.

comment-stream.jst.hbs « templates « assets « app - github.com/diaspora/diaspora.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: a41b612d9f814620c42cd6cbde493752db84ca39 (plain)
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}}