{{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.filter_milestone_open"}}
{{range .OpenMilestones}} {{svg "octicon-milestone" 16 "tw-mr-1"}} {{.Name}} {{end}} {{end}} {{if .ClosedMilestones}}
{{ctx.Locale.Tr "repo.issues.filter_milestone_closed"}}
{{range .ClosedMilestones}} {{svg "octicon-milestone" 16 "tw-mr-1"}} {{.Name}} {{end}} {{end}} {{end}}