{{template "repo/issue/branch_selector_field" .}}
{{.i18n.Tr "repo.issues.new.no_label"}} {{range .Labels}} {{end}}
{{.i18n.Tr "repo.issues.new.no_milestone"}}
{{if .Issue.Milestone}} {{.Issue.Milestone.Name}} {{end}}
{{.i18n.Tr "repo.issues.new.no_assignee"}}
{{if .Issue.Assignee}} {{.Issue.Assignee.Name}} {{end}}
{{.i18n.Tr "repo.issues.num_participants" .NumParticipants}}
{{range .Participants}} {{end}}
{{if $.IssueWatch}}
{{.i18n.Tr "notification.notifications"}}
{{$.CsrfTokenHtml}}
{{end}} {{if .Repository.IsTimetrackerEnabled }} {{if .CanUseTimetracker }}
{{.i18n.Tr "repo.issues.tracker"}}
{{$.CsrfTokenHtml}}
{{$.CsrfTokenHtml}}
{{if $.IsStopwatchRunning}}
{{else}} {{if .HasUserStopwatch}}
{{.i18n.Tr "repo.issues.tracking_already_started" .OtherStopwatchURL | Safe}}
{{end}}
{{end}}
{{end}} {{if gt (len .WorkingUsers) 0}}
{{.i18n.Tr "repo.issues.time_spent_total"}}
{{range $user, $trackedtime := .WorkingUsers}}
{{$user.DisplayName}}
{{$trackedtime}}
{{end}}
{{end}} {{end}} {{if .Repository.IsDependenciesEnabled}}
{{.i18n.Tr "repo.issues.dependency.title"}}
{{if .BlockedByDependencies}} {{.i18n.Tr "repo.issues.dependency.blocked_by_short"}}:
{{range .BlockedByDependencies}}
{{if $.CanUseDependencies}} {{end}} {{if .IsClosed}}
{{else}}
{{end}}
#{{.Index}}
{{.Title}}
{{end}}
{{end}} {{if .BlockingDependencies}} {{.i18n.Tr "repo.issues.dependency.blocks_short"}}:
{{range .BlockingDependencies}}
{{if $.CanUseDependencies}} {{end}} {{if .IsClosed}}
{{else}}
{{end}}
#{{.Index}}
{{.Title}}
{{end}}
{{end}} {{if (and (not .BlockedByDependencies) (not .BlockingDependencies))}}

{{.i18n.Tr "repo.issues.dependency.no_dependencies"}}

{{end}} {{if .CanUseDependencies}}
{{$.CsrfTokenHtml}}
{{end}}
{{if .CanUseDependencies}} {{end}} {{end}}