{{template "base/head" .}}
{{template "user/dashboard/navbar" .}}
{{range .Milestones}}
  • {{.Repo.FullName}}
    {{svg "octicon-milestone" 16}} {{.Name}}
    {{ $closedDate:= TimeSinceUnix .ClosedDateUnix $.Lang }} {{if .IsClosed}} {{svg "octicon-clock" 16}} {{$.i18n.Tr "repo.milestones.closed" $closedDate|Str2html}} {{else}} {{svg "octicon-calendar" 16}} {{if .DeadlineString}} {{.DeadlineString}} {{else}} {{$.i18n.Tr "repo.milestones.no_due_date"}} {{end}} {{end}} {{svg "octicon-issue-opened" 16}} {{$.i18n.Tr "repo.milestones.open_tab" .NumOpenIssues}} {{svg "octicon-issue-closed" 16}} {{$.i18n.Tr "repo.milestones.close_tab" .NumClosedIssues}} {{if .TotalTrackedTime}}{{svg "octicon-clock" 16}} {{.TotalTrackedTime|Sec2Time}}{{end}}
    {{if and (or $.CanWriteIssues $.CanWritePulls) (not $.Repository.IsArchived)}} {{end}} {{if .Content}}
    {{.RenderedContent|Str2html}}
    {{end}}
  • {{end}} {{template "base/paginate" .}}
    {{template "base/footer" .}}