diff --git a/templates/site/user/notifications.jet.html b/templates/site/user/notifications.jet.html index 8a94cfbc..6a510d84 100644 --- a/templates/site/user/notifications.jet.html +++ b/templates/site/user/notifications.jet.html @@ -3,25 +3,36 @@ {{block title()}}{{ T("profile_edit_page", User.Username) }}{{end}} {{ block profile_navigation()}}{{ yield profile_menu(route="profile") }}{{end}} {{block profile_content()}} -{{ if len(User.Notifications) > 0}} -
- {{ T("clear_notifications") }} -
-
- +
+ + + + + + + + + {{if len(User.Notifications) == 0}} + + {{end}} {{ range User.Notifications }} - - -
- -

{{ .Content }}

-
-
- -
-{{end}} + + + + {{if !.Date.IsZero()}} + + {{else}} + + {{end}} + + {{end}} +
{{T("status")}}Event{{T("date")}}
{{T("no_notifications")}}
{{if .Read}}{{T("read")}}{{else}}{{T("unread")}}{{end}} + >{{ .Content }} + {{formatDate(.Date, true)}}{{T("unknown")}}
-{{else}} -

{{ T("no_notifications") }}

-{{end}} +
+
+ {{ T("clear_all_notifications") }} + {{ T("clear_notifications") }} +
{{end}}