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

comment-stream_tpl.jst.hbs « templates « assets « app - github.com/diaspora/diaspora.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 6ed7982378e19926e88bc8a324145c7388c664e4 (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
31
32
33
34
35
36
37
38
39
40
41
42
43
<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>

<div class="loading-comments comment text-center hidden">
  <div class="media">
    <div class="loader">
      <div class="spinner"></div>
    </div>
  </div>
</div>

<div class="comments"> </div>

{{#if loggedIn}}
  <div class="comment 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 form-control mention-textarea"
                  id="comment_text_on_{{id}}" name="text" rows="1" required placeholder="{{t "stream.comment"}}"></textarea>
        <div class="typeahead-mention-box-wrap">
          <input class="typeahead-mention-box hidden" type="text">
        </div>

        <div class="submit-button">
          <input class="btn btn-primary" id="comment_submit_{{id}}" name="commit" type="submit" value="{{t "stream.comment"}}" />
        </div>
      </form>
    </div>
  </div>
{{/if}}