diff options
Diffstat (limited to 'templates')
-rw-r--r-- | templates/notification.tmpl | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/templates/notification.tmpl b/templates/notification.tmpl index 395987e..5aaccb4 100644 --- a/templates/notification.tmpl +++ b/templates/notification.tmpl @@ -16,7 +16,7 @@ </form> {{range .Notifications}} -<article class="notification-container {{.Type}} {{if .Pleroma}}{{if not .Pleroma.IsSeen}}unread{{end}}{{end}}"> +<article class="notification-container notification-{{.Type}} {{if .Pleroma}}{{if not .Pleroma.IsSeen}}unread{{end}}{{end}}"> {{if eq .Type "follow"}} <div class="user-list-item"> <div class="user-list-profile-img"> @@ -66,6 +66,9 @@ {{else if eq .Type "mention"}} {{template "status" (WithContext .Status $.Ctx)}} + {{else if eq .Type "status"}} + {{template "status" (WithContext .Status $.Ctx)}} + {{else if eq .Type "reblog"}} <div class="retweet-info"> <a class="img-link" href="/user/{{.Account.ID}}"> |