mirror of
https://gitea.phreedom.club/localhost_frssoft/bloat.git
synced 2024-11-22 04:39:21 +02:00
Sign up notifications handle Mastodon (? maybe Pleroma too...)
This commit is contained in:
parent
e6019323f6
commit
9472518169
|
@ -115,6 +115,19 @@
|
||||||
</div>
|
</div>
|
||||||
{{template "status" (WithContext .Status $.Ctx)}}
|
{{template "status" (WithContext .Status $.Ctx)}}
|
||||||
|
|
||||||
|
{{else if eq .Type "admin.sign_up"}}
|
||||||
|
<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"> Signed up on instance -
|
||||||
|
<time datetime="{{FormatTimeRFC3339 .CreatedAt}}" title="{{FormatTimeRFC822 .CreatedAt}}">{{TimeSince .CreatedAt}}</time>
|
||||||
|
</span>
|
||||||
|
</div>
|
||||||
|
|
||||||
{{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}}">
|
||||||
|
|
Loading…
Reference in New Issue