mirror of
https://gitea.phreedom.club/localhost_frssoft/bloat.git
synced 2024-11-27 01:13:00 +00:00
Support visibility edited status
This commit is contained in:
parent
9621a49db8
commit
c4a1f5e3d5
@ -101,6 +101,20 @@
|
|||||||
</div>
|
</div>
|
||||||
{{template "status" (WithContext .Status $.Ctx)}}
|
{{template "status" (WithContext .Status $.Ctx)}}
|
||||||
|
|
||||||
|
{{else if eq .Type "update"}}
|
||||||
|
<div class="retweet-info">
|
||||||
|
<a class="img-link" href="/user/{{.Account.ID}}">
|
||||||
|
<img class="status-profile-img" src="{{.Account.Avatar}}" title="@{{.Account.Acct}}" alt="avatar" height="48" />
|
||||||
|
</a>
|
||||||
|
<a href="/user/{{.Account.ID}}">
|
||||||
|
<span class="status-uname"> @{{.Account.Acct}} </span>
|
||||||
|
</a>
|
||||||
|
<span class="notification-text"> edited own post -
|
||||||
|
<time datetime="{{FormatTimeRFC3339 .CreatedAt}}" title="{{FormatTimeRFC822 .CreatedAt}}">{{TimeSince .CreatedAt}}</time>
|
||||||
|
</span>
|
||||||
|
</div>
|
||||||
|
{{template "status" (WithContext .Status $.Ctx)}}
|
||||||
|
|
||||||
{{else}}
|
{{else}}
|
||||||
<div class="retweet-info">
|
<div class="retweet-info">
|
||||||
<a class="img-link" href="/user/{{.Account.ID}}">
|
<a class="img-link" href="/user/{{.Account.ID}}">
|
||||||
|
@ -235,6 +235,8 @@
|
|||||||
{{TimeSince .CreatedAt.Time}}
|
{{TimeSince .CreatedAt.Time}}
|
||||||
</time>
|
</time>
|
||||||
</a>
|
</a>
|
||||||
|
{{if .EditedAt}} <time datetime="{{FormatTimeRFC3339 .EditedAt.Time}}" title="{{FormatTimeRFC822 .EditedAt.Time}}">| {{TimeSince .EditedAt.Time}} Edited</time>{{end}}
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
Reference in New Issue
Block a user