{{template "repo/header" .}}

{{.Milestone.Name}}

{{if not .Repository.IsArchived}} {{end}}
{{.Milestone.RenderedContent|Str2html}}
{{$closedDate:= TimeSinceUnix .Milestone.ClosedDateUnix $.locale}} {{if .IsClosed}} {{svg "octicon-clock"}} {{$.locale.Tr "repo.milestones.closed" $closedDate | Safe}} {{else}} {{svg "octicon-calendar"}} {{if .Milestone.DeadlineString}} {{DateTime "short" .Milestone.DeadlineString}} {{else}} {{$.locale.Tr "repo.milestones.no_due_date"}} {{end}} {{end}}   {{.locale.Tr "repo.milestones.completeness" .Milestone.Completeness}}
{{template "repo/issue/openclose" .}}
{{template "repo/issue/openclose" .}}
{{template "shared/issuelist" dict "." . "listType" "milestone"}}