{{if .Pjax}} {{template "header.html" .}} {{else}} {{.Title}} {{end}}
{{template "general_sidebar.html" .}}

My notifications

{{if .Notifs}} {{$username := .CurrentUser.Username}} {{range $notif := .Notifs}}
{{else}}">{{end}}
{{if eq $notif.Type 4}}Followed by {{end}}{{$notif.ByNickname}}{{if $notif.MergedCount}}{{if eq $notif.MergedCount 1}} and {{index $notif.MergedNickname 0}}{{else if eq $notif.MergedCount 2}}, {{index $notif.MergedNickname 0}}, and {{index $notif.MergedNickname 1}}{{else if eq $notif.MergedCount 3}}, {{index $notif.MergedNickname 0}}, {{index $notif.MergedNickname 1}}, and {{index $notif.MergedNickname 2}}{{else if eq $notif.MergedCount 4}}, {{index $notif.MergedNickname 0}}, {{index $notif.MergedNickname 1}}, {{index $notif.MergedNickname 2}}, and 1 other{{else}}, {{index $notif.MergedNickname 0}}, {{index $notif.MergedNickname 1}}, {{index $notif.MergedNickname 2}}, and {{$notif.MergedOthers}} others{{end}}{{end}} {{if eq $notif.Type 0}} gave your post ({{$notif.PostText}}) a Yeah. {{else if eq $notif.Type 1}} gave your comment ({{$notif.PostText}}) a Yeah. {{else if eq $notif.Type 2}} commented on your post ({{$notif.PostText}}). {{else if eq $notif.Type 3}} commented on {{$notif.ByNickname}}'s post ({{$notif.PostText}}). {{else if eq $notif.Type 7}} reposted your post ({{$notif.PostText}}). {{else if eq $notif.Type 8}}
You have received a notification from the Indigo Administration. {{end}} {{$notif.Date}}
{{end}} {{else}}

No notifications.

{{end}}
{{if .Pjax}} {{template "footer.html"}} {{end}}