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