{{template "base/head" .}}
{{template "repo/header" .}}
{{template "base/alert" .}}
{{range .Milestones}}
  • {{.Name | Sanitize}}
    {{ $closedDate:= TimeSince .ClosedDate $.Lang }} {{if .IsClosed}} {{$.i18n.Tr "repo.milestones.closed" $closedDate|Str2html}} {{else}} {{if .DeadlineString}} {{.DeadlineString}} {{else}} {{$.i18n.Tr "repo.milestones.no_due_date"}} {{end}} {{end}} {{ $openCount := .CountIssues false false}} {{ $closedCount := .CountIssues true false}} {{$.i18n.Tr "repo.issues.open_tab" $openCount}} {{$.i18n.Tr "repo.issues.close_tab" $closedCount}}
    {{if $.IsRepositoryWriter}} {{end}} {{if .Content}}
    {{.RenderedContent|Str2html}}
    {{end}}
  • {{end}} {{with .Page}} {{if gt .TotalPages 1}}
    {{end}} {{end}}
    {{if .IsRepositoryWriter}} {{end}} {{template "base/footer" .}}