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

single-post-content_tpl.jst.hbs « single-post-viewer « templates « assets « app - github.com/diaspora/diaspora.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: dd96957c5bacaecc8078b37ef959d366c7f3b1cb (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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
<div id="head" class="head clearfix">
  <div class="col-md-12">
    <div class="row">
      <div id="post-info" class="col-md-8">
        <div class="img pull-left">
          {{#if root}}
            {{#linkToAuthor root.author}}
              {{{personImage this "medium"}}}
            {{/linkToAuthor}}
          {{else}}
            {{#linkToAuthor author}}
              {{{personImage this "medium"}}}
            {{/linkToAuthor}}
          {{/if}}
        </div>

        <div class="bd">
          <span class="author">
            {{#if root}}
              {{#linkToAuthor root.author}}
                {{name}}
              {{/linkToAuthor}}
            {{else}}
              {{#linkToAuthor author}}
                {{name}}
              {{/linkToAuthor}}
            {{/if}}
          </span>

          <div class="info">
            {{#if public}}
              <span class="post_scope" title="{{t "stream.public"}}">
                <i class="entypo-globe small"></i>
              </span>
            {{else}}
              <span class="post_scope" title="{{t "stream.limited"}}">
                <i class="entypo-lock small"></i>
              </span>
            {{/if}}
            <span class="post-time">
              {{#if root}}
                <a href="/posts/{{root.guid}}">
                  <time datetime="{{root.created_at}}" title="{{localTime root.created_at}}" />
                </a>
              {{else}}
                <a href="/posts/{{guid}}">
                  <time datetime="{{created_at}}" title="{{localTime created_at}}" />
                </a>
              {{/if}}
            </span>
            {{#if root}}
              {{#if root.provider_display_name}}
                {{t "stream.via" provider=root.provider_display_name}}
              {{/if}}
            {{else}}
              {{#if provider_display_name}}
                {{t "stream.via" provider=provider_display_name}}
              {{/if}}
            {{/if}}
          </div>
          {{#unless root}}
            <div id="single-post-moderation" />
          {{/unless}}
        </div>
      </div>
      {{#unless root}}
        <div id="single-post-actions" class="col-md-4" />
      {{/unless}}
    </div>
    {{#if location.lat}}
    <div class="row">
      <div class='near-from'>
        {{t "publisher.near_from" location=location.address}}
      </div>
      <div class="mapContainer small-map"></div>
    </div>
    {{/if}}
    {{#if root}}
      <div class="row reshare">
        <div class="col-md-8" id="reshare-info">
          <i class="entypo-reshare small pull-left"></i>
          <div class="img pull-left">
            {{#linkToAuthor author}}
              {{{personImage this "small"}}}
            {{/linkToAuthor}}
          </div>
          <span class="author">
            {{#linkToAuthor author}}
              {{name}}
            {{/linkToAuthor}}
          </span>
          <div class="post-context">
            <span class="post-time">
              <a href="/posts/{{guid}}">
                <time datetime="{{created_at}}" title="{{localTime created_at}}" />
              </a>
            </span>
            <span id="single-post-moderation" />
          </div>
        </div>
        <div id="single-post-actions" class="col-md-4" />
      </div>
    {{/if}}
  </div>
</div>
<div class="row">
  <div id="body" class="body clearfix">
    <div id="real-post-content" class="post-content col-md-12">
    </div>
  </div>
</div>