#{{.Issue.Index}} {{.Issue.Title}}

{{if .IsIssueOwner}}
{{.i18n.Tr "repo.issues.edit"}}
{{end}}
{{if .HasMerged}}
{{.i18n.Tr "repo.pulls.merged"}}
{{else if .Issue.IsClosed}}
{{.i18n.Tr "repo.issues.closed_title"}}
{{else}}
{{.i18n.Tr "repo.issues.open_title"}}
{{end}} {{if .Issue.IsPull}} {{if .Issue.PullRequest.HasMerged}} {{ $mergedStr:= TimeSince .Issue.PullRequest.Merged $.Lang }} {{.Issue.PullRequest.Merger.Name}} {{$.i18n.Tr "repo.pulls.merged_title_desc" .NumCommits .HeadTarget .BaseTarget $mergedStr | Str2HTML}} {{else}} {{.Issue.Poster.Name}} {{$.i18n.Tr "repo.pulls.title_desc" .NumCommits .HeadTarget .BaseTarget | Str2HTML}} {{end}} {{else}} {{ $createdStr:= TimeSince .Issue.Created $.Lang }} {{if gt .Issue.Poster.ID 0}} {{$.i18n.Tr "repo.issues.opened_by" $createdStr .Issue.Poster.HomeLink .Issue.Poster.Name | Safe}} {{else}} {{$.i18n.Tr "repo.issues.opened_by_fake" $createdStr .Issue.Poster.Name | Safe}} {{end}} ยท {{$.i18n.Tr "repo.issues.num_comments" .Issue.NumComments}} {{end}}