{{- $itemExtraClass := .ItemExtraClass -}} {{- $data := .PageGlobalData -}} {{if and $data $data.IsSigned}}{{/* data may not exist, for example: rendering 503 page before the PageGlobalData middleware */}} {{- $activeStopwatch := call $data.GetActiveStopwatch -}} {{- $notificationUnreadCount := call $data.GetNotificationUnreadCount -}} {{if $activeStopwatch}}
{{svg "octicon-stopwatch"}}
{{end}} {{if not ctx.Consts.RepoUnitTypeIssues.UnitGlobalDisabled}} {{svg "octicon-issue-opened"}} {{end}} {{if not ctx.Consts.RepoUnitTypePullRequests.UnitGlobalDisabled}} {{svg "octicon-git-pull-request"}} {{end}}
{{svg "octicon-inbox"}} {{$notificationUnreadCount}}
{{if $data.IsSiteAdmin}} {{svg "octicon-server"}} {{end}} {{end}}