{{template "user/dashboard/navbar" .}}
{{range .Milestones}}
  • {{.Repo.FullName}} {{svg "octicon-milestone" 16 "gt-mr-3"}}{{.Name}}

    {{.Completeness}}%
    {{$closedDate:= TimeSinceUnix .ClosedDateUnix $.locale}} {{if .IsClosed}} {{svg "octicon-clock"}} {{$.locale.Tr "repo.milestones.closed" $closedDate | Safe}} {{else}} {{svg "octicon-calendar"}} {{if .DeadlineString}} {{template "shared/datetime/short" (dict "Datetime" .DeadlineString "Fallback" .DeadlineString)}} {{else}} {{$.locale.Tr "repo.milestones.no_due_date"}} {{end}} {{end}} {{svg "octicon-issue-opened" 16 "gt-mr-3"}} {{.locale.PrettyNumber .NumOpenIssues}} {{$.locale.Tr "repo.issues.open_title"}} {{svg "octicon-check" 16 "gt-mr-3"}} {{.locale.PrettyNumber .NumClosedIssues}} {{$.locale.Tr "repo.issues.closed_title"}} {{if .TotalTrackedTime}} {{svg "octicon-clock"}} {{.TotalTrackedTime|Sec2Time}} {{end}}
    {{if and (or $.CanWriteIssues $.CanWritePulls) (not $.Repository.IsArchived)}} {{end}} {{if .Content}}
    {{.RenderedContent|Str2html}}
    {{end}}
  • {{end}} {{template "base/paginate" .}}