{{template "base/head" .}}
{{template "repo/header" .}}
{{template "repo/issue/navbar" .}}
{{template "repo/issue/search" .}}
{{if not .Repository.IsArchived}}
{{if .PageIsIssueList}} {{.i18n.Tr "repo.issues.new"}} {{else}} {{.i18n.Tr "repo.pulls.new"}} {{end}}
{{else}} {{if not .PageIsIssueList}} {{end}} {{end}}
{{/* 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}}
  • {{if $.CanWriteIssuesOrPulls}}
    {{end}}
    #{{.Index}}
    {{.Title}} {{if .IsPull }} {{if (index $.CommitStatus .ID)}} {{template "repo/commit_status" (index $.CommitStatus .ID)}} {{end}} {{end}} {{range .Labels}} {{.Name}} {{end}} {{if .NumComments}} {{.NumComments}} {{end}} {{if .TotalTrackedTime}} {{.TotalTrackedTime | Sec2Time}} {{end}}

    {{ $timeStr := TimeSinceUnix .GetLastEventTimestamp $.Lang }} {{if .OriginalAuthor }} {{$.i18n.Tr .GetLastEventLabelFake $timeStr .OriginalAuthor | Safe}} {{else if gt .Poster.ID 0}} {{$.i18n.Tr .GetLastEventLabel $timeStr .Poster.HomeLink (.Poster.GetDisplayName | Escape) | Safe}} {{else}} {{$.i18n.Tr .GetLastEventLabelFake $timeStr (.Poster.GetDisplayName | Escape) | Safe}} {{end}} {{if .Milestone}} {{.Milestone.Name}} {{end}} {{if .Ref}} {{.Ref}} {{end}} {{$tasks := .GetTasks}} {{if gt $tasks 0}} {{$tasksDone := .GetTasksDone}} {{$tasksDone}} / {{$tasks}} {{end}} {{if ne .DeadlineUnix 0}} {{.DeadlineUnix.FormatShort}} {{end}} {{range .Assignees}} {{end}}

  • {{end}} {{template "base/paginate" .}}
    {{template "base/footer" .}}