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

stream-element_tpl.jst.hbs « templates « assets « app - github.com/diaspora/diaspora.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 9240a3bfd936691718a73a671355d85bee85c75b (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
44
45
<div class="media {{#if showPost}} {{#if nsfw}} shield-off {{/if}} {{else}} shield-active {{/if}}">

  {{#unless preview}}
    {{#with author}}
      <a href="/people/{{guid}}" class="img {{{hovercardable this}}}">
        {{{personImage this}}}
      </a>
    {{/with}}
  {{/unless}}

  <div class="bd">
    {{#unless preview}}
      {{#if loggedIn}}
        <div class="post-controls"></div>
      {{/if}}

      <div>
        {{#linkToAuthor author}}
          {{~name~}}
        {{/linkToAuthor}}

        <span class="details gray post-timestamp">
          -
          <a href="/posts/{{id}}">
            <time class="timeago" data-original-title="{{{localTime created_at}}}" datetime="{{created_at}}" />
          </a>

          <a href="/posts/{{guid}}" class="permalink" title="{{t "stream.permalink"}}">
            <i class="entypo-link"></i>
          </a>
        </span>
      </div>
    {{/unless}}

    <div class="post-content"> </div>
    <div class="status-message-location nsfw-hidden"> </div>

    {{#unless preview}}
      <div class="feedback nsfw-hidden"> </div>
      <div class="likes nsfw-hidden"> </div>
      <div class="reshares nsfw-hidden"> </div>
      <div class="comments nsfw-hidden"> </div>
    {{/unless}}
  </div>
</div>