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

comment_tpl.jst.hbs « templates « assets « app - github.com/diaspora/diaspora.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 81c2d506476a4d2a45e376a4c76fd4d3efdd6da4 (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
<div id="{{guid}}">
  <div class="img">
    {{#linkToAuthor author}}
      {{{personImage this "small" "small"}}}
    {{/linkToAuthor}}
  </div>

  <div class="bd">
    <div class="control-icons">
    {{#if loggedIn}}
      {{#if canRemove}}
        <a href="#" class="delete comment_delete" title="{{t "delete"}}">
          <i class="entypo-trash"></i>
        <a/>
      {{else}}
        <a href="#" data-type="Comment" class="comment_report" title="{{t "report.name"}}">
          <i class="entypo-warning"></i>
        </a>
      {{/if}}
    {{/if}}
    </div>

    <div>
      {{#linkToAuthor author}}
        {{name}}
      {{/linkToAuthor}}
      -
      <a href="/posts/{{parent.id}}#{{guid}}" class="permalink_comment">
        <time class="timeago" data-original-title="{{{localTime created_at}}}" datetime="{{created_at}}"/>
      </a>
      <a href="/posts/{{parent.guid}}#{{guid}}" class="permalink gray" title="{{t "stream.permalink"}}">
        <i class="entypo-link"></i>
      </a>
    </div>

    <div class="collapsible comment-content markdown-content">
      {{{text}}}
    </div>
  </div>
</div>