{{with .Issue}} {{if eq $.Page.Project.CardType 1}}{{/* Images and Text*/}}
{{range (index $.Page.issuesAttachmentMap .ID)}} {{.Name}} {{end}}
{{end}}
{{template "shared/issueicon" .}}
{{.Title | RenderEmoji ctx | RenderCodeBlock}} {{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|Escape) | Safe}} {{else if gt .Poster.ID 0}} {{ctx.Locale.Tr .GetLastEventLabel $timeStr (.Poster.HomeLink|Escape) (.Poster.GetDisplayName | Escape) | Safe}} {{else}} {{ctx.Locale.Tr .GetLastEventLabelFake $timeStr (.Poster.GetDisplayName | Escape) | Safe}} {{end}}
{{if .MilestoneID}}
{{svg "octicon-milestone" 16 "gt-mr-2 gt-vm"}} {{.Milestone.Name}}
{{end}} {{if $.Page.LinkedPRs}} {{range index $.Page.LinkedPRs .ID}}
{{svg "octicon-git-merge" 16 "gt-mr-2 gt-vm"}} {{.Title}} #{{.Index}}
{{end}} {{end}} {{$tasks := .GetTasks}} {{if gt $tasks 0}}
{{svg "octicon-checklist" 16 "gt-mr-2 gt-vm"}} {{.GetTasksDone}} / {{$tasks}}
{{end}}
{{if or .Labels .Assignees}}
{{range .Labels}} {{RenderLabel ctx .}} {{end}}
{{range .Assignees}} {{ctx.AvatarUtils.Avatar . 28 "mini gt-mr-3"}} {{end}}
{{end}} {{end}}