{{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}} {{template "shared/datetime/short" (dict "Datetime" .Milestone.DeadlineString "Fallback" .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" .}}
{{/* Ten wide does not cope well and makes the columns stack. This seems to be related to jQuery's hide/show: in fact, switching issue-actions and issue-filters and having this ten wide will show this one correctly, but not the other one. */}}
{{template "shared/issuelist" dict "." . "listType" "milestone"}}