{{$notificationUnreadCount := call .NotificationUnreadCount}}
{{if and (eq .Status 1)}}
{{$.CsrfTokenHtml}}
{{end}}
{{if eq (len .Notifications) 0}}
{{svg "octicon-inbox" 56 "gt-mb-4"}} {{if eq .Status 1}} {{.locale.Tr "notification.no_unread"}} {{else}} {{.locale.Tr "notification.no_read"}} {{end}}
{{else}} {{$locale := .locale}} {{range $notification := .Notifications}}
{{if .Issue}} {{template "shared/issueicon" .Issue}} {{else}} {{svg "octicon-repo" 16 "text grey"}} {{end}}
{{.Repository.FullName}} #{{.Issue.Index}} {{if eq .Status 3}} {{svg "octicon-pin" 13 "text blue gt-mt-1 gt-ml-2"}} {{end}}
{{if .Issue}} {{.Issue.Title | RenderEmoji $.Context | RenderCodeBlock}} {{else}} {{.Repository.FullName}} {{end}}
{{TimeSinceUnix .Issue.UpdatedUnix $locale}}
{{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" .}}