{{$notificationUnreadCount := call .NotificationUnreadCount}}
{{if not .Notifications}}
{{svg "octicon-inbox" 56 "tw-mb-4"}} {{if eq .Status 1}} {{ctx.Locale.Tr "notification.no_unread"}} {{else}} {{ctx.Locale.Tr "notification.no_read"}} {{end}}
{{else}} {{range $notification := .Notifications}}
{{if .Issue}} {{template "shared/issueicon" .Issue}} {{else}} {{svg "octicon-repo" 16 "text grey"}} {{end}}
{{.Repository.FullName}} {{if .Issue}}#{{.Issue.Index}}{{end}} {{if eq .Status 3}} {{svg "octicon-pin" 13 "text blue tw-mt-0.5 tw-ml-1"}} {{end}}
{{if .Issue}} {{.Issue.Title | RenderEmoji $.Context | RenderCodeBlock}} {{else}} {{.Repository.FullName}} {{end}}
{{if .Issue}} {{TimeSinceUnix .Issue.UpdatedUnix ctx.Locale}} {{else}} {{TimeSinceUnix .UpdatedUnix ctx.Locale}} {{end}}
{{if ne .Status 3}}
{{$.CsrfTokenHtml}}
{{end}} {{if or (eq .Status 1) (eq .Status 3)}}
{{$.CsrfTokenHtml}}
{{else if eq .Status 2}}
{{$.CsrfTokenHtml}}
{{end}}
{{end}} {{end}}
{{template "base/paginate" .}}