mirror of
https://git.phreedom.club/localhost_frssoft/bloat.git
synced 2024-11-25 21:31:27 +00:00
Add fallback notification
This commit is contained in:
parent
91f68ccfb3
commit
e7d24cfa80
|
@ -97,6 +97,20 @@
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
{{template "status" (WithContext .Status $.Ctx)}}
|
{{template "status" (WithContext .Status $.Ctx)}}
|
||||||
|
|
||||||
|
{{else}}
|
||||||
|
<div class="retweet-info">
|
||||||
|
<a class="img-link" href="/user/{{.Account.ID}}">
|
||||||
|
<img class="status-profile-img" src="{{.Account.AvatarStatic}}" 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"> {{.Type}} -
|
||||||
|
<time datetime="{{FormatTimeRFC3339 .CreatedAt}}" title="{{FormatTimeRFC822 .CreatedAt}}">{{TimeSince .CreatedAt}}</time>
|
||||||
|
</span>
|
||||||
|
</div>
|
||||||
|
{{if .Status}}{{template "status" (WithContext .Status $.Ctx)}}{{end}}
|
||||||
{{end}}
|
{{end}}
|
||||||
</div>
|
</div>
|
||||||
{{end}}
|
{{end}}
|
||||||
|
|
Loading…
Reference in a new issue