{{if .Repository.IsTimetrackerEnabled ctx}} {{if and .CanUseTimetracker (not .Repository.IsArchived)}}
{{if and (not $.IsStopwatchRunning) .HasUserStopwatch}}
{{ctx.Locale.Tr "repo.issues.tracking_already_started" .OtherStopwatchURL}}
{{end}} {{if .Issue.TimeEstimate}}
{{ctx.Locale.Tr "repo.issues.time_estimate_display" (TimeEstimateString .Issue.TimeEstimate)}}
{{end}} {{/* set time estimate modal */}} {{/* manually add time modal */}}
{{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}}