{{template "repo/issue/branch_selector_field" .}} {{if .Issue.IsPull }}
{{.i18n.Tr "repo.issues.new.no_reviewers"}}
{{range .PullReviewers}}
{{if .User}} {{.User.GetDisplayName}} {{else if .Team}} {{svg "octicon-people" 16 "teamavatar"}}{{$.Issue.Repo.OwnerName}}/{{.Team.Name}} {{end}} {{if .CanChange}} {{svg "octicon-sync"}} {{end}} {{svg (printf "octicon-%s" .Review.Type.Icon)}}
{{end}} {{range .OriginalReviews}}
{{ .OriginalAuthor }} {{svg (printf "octicon-%s" .Type.Icon)}}
{{end}}
{{end}}
{{.i18n.Tr "repo.issues.new.no_label"}} {{range .Labels}} {{end}} {{range .OrgLabels}} {{end}}
{{.i18n.Tr "repo.issues.new.no_milestone"}}
{{if .Issue.Milestone}} {{.Issue.Milestone.Name}} {{end}}
{{if .IsProjectsEnabled}}
{{.i18n.Tr "repo.issues.new.no_projects"}}
{{if .Issue.ProjectID}} {{svg "octicon-project"}} {{.Issue.Project.Title}} {{end}}
{{end}}
{{.i18n.Tr "repo.issues.new.no_assignees"}}
{{range .Issue.Assignees}} {{end}}
{{.i18n.Tr "repo.issues.num_participants" .NumParticipants}}
{{range .Participants}} {{end}}
{{if and $.IssueWatch (not .Repository.IsArchived)}}
{{.i18n.Tr "notification.notifications"}}
{{$.CsrfTokenHtml}}
{{end}} {{if .Repository.IsTimetrackerEnabled }} {{if and .CanUseTimetracker (not .Repository.IsArchived)}}
{{.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_from_all_authors" ($.Issue.TotalTrackedTime | Sec2Time) | Safe}}
{{range $user, $trackedtime := .WorkingUsers}}
{{$user.DisplayName}}
{{$trackedtime}}
{{end}}
{{end}} {{end}}
{{.i18n.Tr "repo.issues.due_date"}}
{{if ne .Issue.DeadlineUnix 0}}

{{svg "octicon-calendar"}} {{.Issue.DeadlineUnix.FormatDate}} {{if .Issue.IsOverdue}} {{.i18n.Tr "repo.issues.due_date_overdue"}} {{end}} {{if and .HasIssuesOrPullsWritePermission (not .Repository.IsArchived)}}
{{$.i18n.Tr "repo.issues.due_date_form_edit"}} - {{$.i18n.Tr "repo.issues.due_date_form_remove"}} {{end}}

{{else}}

{{.i18n.Tr "repo.issues.due_date_not_set"}}

{{end}} {{if and .HasIssuesOrPullsWritePermission (not .Repository.IsArchived)}} {{end}}
{{if .Repository.IsDependenciesEnabled}}
{{if (and (not .BlockedByDependencies) (not .BlockingDependencies))}} {{.i18n.Tr "repo.issues.dependency.title"}}

{{if .Issue.IsPull}} {{.i18n.Tr "repo.issues.dependency.pr_no_dependencies"}} {{else}} {{.i18n.Tr "repo.issues.dependency.issue_no_dependencies"}} {{end}}

{{end}} {{if .BlockingDependencies}} {{.i18n.Tr "repo.issues.dependency.blocks_short"}}
{{range .BlockingDependencies}}
#{{.Issue.Index}} {{.Issue.Title | RenderEmoji}}
{{.Repository.OwnerName}}/{{.Repository.Name}}
{{if and $.CanCreateIssueDependencies (not $.Repository.IsArchived)}} {{svg "octicon-trashcan" 16}} {{end}}
{{end}}
{{end}} {{if .BlockedByDependencies}} {{.i18n.Tr "repo.issues.dependency.blocked_by_short"}}
{{range .BlockedByDependencies}}
#{{.Issue.Index}} {{.Issue.Title | RenderEmoji}}
{{.Repository.OwnerName}}/{{.Repository.Name}}
{{if and $.CanCreateIssueDependencies (not $.Repository.IsArchived)}} {{svg "octicon-trashcan" 16}} {{end}}
{{end}}
{{end}} {{if and .CanCreateIssueDependencies (not .Repository.IsArchived)}}
{{$.CsrfTokenHtml}}
{{end}}
{{ if and .IsRepoAdmin (not .Repository.IsArchived) }}
{{ end }}
{{if and .CanCreateIssueDependencies (not .Repository.IsArchived)}} {{end}} {{end}}