{{with .Issue}} {{if eq $.Page.Project.CardType 1}}{{/* Images and Text*/}} {{$attachments := index $.Page.issuesAttachmentMap .ID}} {{if $attachments}}
{{range $attachments}} {{.Name}} {{end}}
{{end}} {{end}}
{{template "shared/issueicon" .}}
{{RenderRefIssueTitle $.Context .Title}} {{if and $.isPinnedIssueCard $.Page.IsRepoAdmin}} {{svg "octicon-x" 16}} {{end}}
{{if not $.Page.Repository}}{{.Repo.FullName}}{{end}}#{{.Index}} {{$timeStr := TimeSinceUnix .GetLastEventTimestamp ctx.Locale}} {{if .OriginalAuthor}} {{ctx.Locale.Tr .GetLastEventLabelFake $timeStr .OriginalAuthor}} {{else if gt .Poster.ID 0}} {{ctx.Locale.Tr .GetLastEventLabel $timeStr .Poster.HomeLink .Poster.GetDisplayName}} {{else}} {{ctx.Locale.Tr .GetLastEventLabelFake $timeStr .Poster.GetDisplayName}} {{end}}
{{if .MilestoneID}}
{{svg "octicon-milestone" 16 "tw-mr-1 tw-align-middle"}} {{.Milestone.Name}}
{{end}} {{if $.Page.LinkedPRs}} {{range index $.Page.LinkedPRs .ID}}
{{svg "octicon-git-merge" 16 "tw-mr-1 tw-align-middle"}} {{.Title}} #{{.Index}}
{{end}} {{end}} {{$tasks := .GetTasks}} {{if gt $tasks 0}}
{{svg "octicon-checklist" 16 "tw-mr-1 tw-align-middle"}} {{.GetTasksDone}} / {{$tasks}}
{{end}}
{{if or .Labels .Assignees}}
{{range .Labels}} {{RenderLabel ctx ctx.Locale .}} {{end}}
{{range .Assignees}} {{ctx.AvatarUtils.Avatar . 28}} {{end}}
{{end}} {{end}}