{{ template "repo/pulls/fragments/pullState" .Pull.State }}
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 }}
{{ template "repo/fragments/reactions"
(dict "Reactions" .Reactions
"UserReacted" .UserReacted
"ThreadAt" .Pull.AtUri) }}