{{template "base/head" .}}
{{template "repo/header" .}}

{{.Milestone.Name}}

{{if not .Repository.IsArchived}} {{end}}
{{ $closedDate:= TimeSinceUnix .Milestone.ClosedDateUnix $.Lang }} {{if .IsClosed}} {{$.i18n.Tr "repo.milestones.closed" $closedDate|Str2html}} {{else}} {{if .Milestone.DeadlineString}} {{.Milestone.DeadlineString}} {{else}} {{$.i18n.Tr "repo.milestones.no_due_date"}} {{end}} {{end}}   {{.i18n.Tr "repo.milestones.completeness" .Milestone.Completeness}}
{{.i18n.Tr "repo.issues.action_open"}}
{{.i18n.Tr "repo.issues.action_close"}}
{{/* 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. */}}
{{range .Issues}} {{ $timeStr:= TimeSinceUnix .CreatedUnix $.Lang }}
  • #{{.Index}}
    {{.Title}} {{if .Ref}} {{.Ref}} {{end}} {{range .Labels}} {{.Name}} {{end}} {{if .NumComments}} {{.NumComments}} {{end}} {{if .TotalTrackedTime}} {{.TotalTrackedTime | Sec2Time}} {{end}}

    {{$.i18n.Tr "repo.issues.opened_by" $timeStr .Poster.HomeLink .Poster.Name | Safe}} {{$tasks := .GetTasks}} {{if gt $tasks 0}} {{$tasksDone := .GetTasksDone}} {{$tasksDone}} / {{$tasks}} {{end}} {{if ne .DeadlineUnix 0}} {{.DeadlineUnix.FormatShort}} {{end}} {{range .Assignees}} {{end}}

  • {{end}} {{with .Page}} {{if gt .TotalPages 1}}
    {{end}} {{end}}
    {{template "base/footer" .}}