{{if or .OpenMilestones .ClosedMilestones}}
{{end}}
{{.locale.Tr "repo.issues.new.clear_milestone"}}
{{if and (not .OpenMilestones) (not .ClosedMilestones)}}
{{.locale.Tr "repo.issues.new.no_items"}}
{{else}} {{if .OpenMilestones}}
{{.locale.Tr "repo.issues.new.open_milestone"}}
{{range .OpenMilestones}} {{svg "octicon-milestone" 16 "gt-mr-2"}} {{.Name}} {{end}} {{end}} {{if .ClosedMilestones}}
{{.locale.Tr "repo.issues.new.closed_milestone"}}
{{range .ClosedMilestones}} {{svg "octicon-milestone" 16 "gt-mr-2"}} {{.Name}} {{end}} {{end}} {{end}}