{{ i $icon "w-3 h-3 mr-1.5 text-white" }}
{{ .Pull.State.String }}
opened by
{{ template "user/fragments/picHandleLink" .Pull.OwnerDid }}
{{ template "repo/fragments/time" .Pull.Created }}
targeting
{{ .Pull.TargetBranch }}
{{ if not .Pull.IsPatchBased }}
from
{{ if not .Pull.IsForkBased }}
{{ $repoPath := .RepoInfo.FullName }}
{{ .Pull.PullSource.Branch }}
{{ else if .Pull.PullSource.Repo }}
{{ $repoPath := print (resolve .Pull.PullSource.Repo.Did) "/" .Pull.PullSource.Repo.Name }}
{{ $repoPath }}:
{{ .Pull.PullSource.Branch }}
{{ else }}
[deleted fork]:
{{ .Pull.PullSource.Branch }}
{{ end }}
{{ end }}
{{ if .Pull.Body }}
{{ .Pull.Body | markdown }}
{{ end }}
{{ template "repo/fragments/reactions"
(dict "Reactions" .Reactions
"UserReacted" .UserReacted
"ThreadAt" .Pull.AtUri) }}
{{ end }}