{{ define "repo/pulls/fragments/summarizedPullHeader" }} {{ $pull := index . 0 }} {{ $pipeline := index . 1 }} {{ $repoInfo := index . 2 }} {{ with $pull }}
{{ template "repo/pulls/fragments/summarizedPullState" .State }}
#{{ .PullId }} {{ .Title | description }}
{{ $latestRound := .LastRoundNumber }} {{ $commentCount := .TotalComments }} {{ if and $pipeline $pipeline.Id }}{{ template "repo/pipelines/fragments/pipelineSymbolLong" (dict "RepoInfo" $repoInfo "Pipeline" $pipeline) }}{{ end }}
{{ i "message-square" "w-3 h-3 md:hidden" }} {{ $commentCount }}
#{{ $latestRound }}
{{ end }} {{ end }}