{{template "base/head" .}}

{{.i18n.Tr "notification.notifications"}}

{{if eq (len .Notifications) 0}} {{if eq .Status 1}} {{.i18n.Tr "notification.no_unread"}} {{else}} {{.i18n.Tr "notification.no_read"}} {{end}} {{else}} {{range $notification := .Notifications}} {{$issue := $notification.GetIssue}} {{$repo := $notification.GetRepo}} {{$repoOwner := $repo.MustOwner}} {{end}}
{{if eq $notification.Status 3}} {{else if $issue.IsPull}} {{if $issue.IsClosed}} {{else}} {{end}} {{else}} {{if $issue.IsClosed}} {{else}} {{end}} {{end}} #{{$issue.Index}} - {{$issue.Title}} {{$repoOwner.Name}}/{{$repo.Name}} {{if ne $notification.Status 3}}
{{$.CsrfTokenHtml}}
{{end}}
{{if or (eq $notification.Status 1) (eq $notification.Status 3)}}
{{$.CsrfTokenHtml}}
{{else if eq $notification.Status 2}}
{{$.CsrfTokenHtml}}
{{end}}
{{end}}
{{template "base/paginate" .}}
{{template "base/footer" .}}