diff options
-rw-r--r-- | static/style.css | 9 | ||||
-rw-r--r-- | templates/notification.tmpl | 5 |
2 files changed, 10 insertions, 4 deletions
diff --git a/static/style.css b/static/style.css index 71f64d7..1f266d0 100644 --- a/static/style.css +++ b/static/style.css @@ -192,9 +192,12 @@ textarea { opacity: 0.6; } -.notification-container.mention .status-content, -.notification-container.mention .status-reply-container, -.notification-container.mention .status-media-container { +.notification-container.notification-mention .status-content, +.notification-container.notification-mention .status-reply-container, +.notification-container.notification-mention .status-media-container, +.notification-container.notification-status .status-content, +.notification-container.notification-status .status-reply-container, +.notification-container.notification-status .status-media-container { opacity: 1; } 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}}"> |