mirror of
https://git.phreedom.club/localhost_frssoft/bloat.git
synced 2024-11-16 01:13:15 +00:00
72 lines
2 KiB
Cheetah
72 lines
2 KiB
Cheetah
{{template "header.tmpl"}}
|
|
{{template "navigation.tmpl" .NavbarData}}
|
|
<div class="page-title"> Notifications </div>
|
|
|
|
{{range .Notifications}}
|
|
<div class="notification-container {{if .Pleroma}}{{if not .Pleroma.IsSeen}}unread{{end}}{{end}}">
|
|
{{if eq .Type "follow"}}
|
|
<div class="notification-follow-container">
|
|
<div class="status-profile-img-container">
|
|
<a class="img-link" href="/user/{{.Account.ID}}" >
|
|
<img class="status-profile-img" src="{{.Account.AvatarStatic}}" alt="profile-avatar" />
|
|
</a>
|
|
</div>
|
|
<div>
|
|
<div>
|
|
<span class="status-dname"> {{EmojiFilter .Account.DisplayName .Account.Emojis}} </span>
|
|
<i class="fa fa-user-plus"></i>
|
|
followed you
|
|
</div>
|
|
<div class="notification-follow-uname">
|
|
@{{.Account.Acct}}
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
{{else if eq .Type "mention"}}
|
|
{{template "status" .Status}}
|
|
|
|
{{else if eq .Type "reblog"}}
|
|
<div class="notification-retweet-container">
|
|
<div class="status-profile-img-container">
|
|
<a class="img-link" href="/user/{{.Account.ID}}" >
|
|
<img class="status-profile-img" src="{{.Account.AvatarStatic}}" alt="profile-avatar" />
|
|
</a>
|
|
</div>
|
|
<div>
|
|
<div>
|
|
<span class="status-dname"> {{EmojiFilter .Account.DisplayName .Account.Emojis}} </span>
|
|
<i class="fa fa-retweet retweeted"></i>
|
|
retweeted your post
|
|
</div>
|
|
{{template "status" .Status}}
|
|
</div>
|
|
</div>
|
|
|
|
{{else if eq .Type "favourite"}}
|
|
<div class="notification-like-container">
|
|
<div class="status-profile-img-container">
|
|
<a class="img-link" href="/user/{{.Account.ID}}" >
|
|
<img class="status-profile-img" src="{{.Account.AvatarStatic}}" alt="profile-avatar" />
|
|
</a>
|
|
</div>
|
|
<div>
|
|
<div>
|
|
<span class="status-dname"> {{EmojiFilter .Account.DisplayName .Account.Emojis}} </span>
|
|
<i class="fa fa-star liked"></i>
|
|
liked your post
|
|
</div>
|
|
{{template "status" .Status}}
|
|
</div>
|
|
</div>
|
|
{{end}}
|
|
</div>
|
|
{{end}}
|
|
|
|
<div class="pagination">
|
|
{{if .HasNext}}
|
|
<a href="{{.NextLink}}">next</a>
|
|
{{end}}
|
|
</div>
|
|
{{template "footer.tmpl"}}
|