{{if .Repository.IsTimetrackerEnabled ctx}} {{if and .CanUseTimetracker (not .Repository.IsArchived)}}
{{ctx.Locale.Tr "repo.issues.tracker"}}
{{$.CsrfTokenHtml}}
{{$.CsrfTokenHtml}}
{{if $.IsStopwatchRunning}} {{else}} {{if .HasUserStopwatch}}
{{ctx.Locale.Tr "repo.issues.tracking_already_started" .OtherStopwatchURL}}
{{end}} {{end}}
{{end}} {{if .WorkingUsers}}
{{ctx.Locale.Tr "repo.issues.time_spent_from_all_authors" ($.Issue.TotalTrackedTime | Sec2Time)}}
{{range $user, $trackedtime := .WorkingUsers}}
{{ctx.AvatarUtils.Avatar $user}}
{{template "shared/user/authorlink" $user}}
{{$trackedtime|Sec2Time}}
{{end}}
{{end}} {{end}}