- {{ i "git-commit-horizontal" "w-4 h-4 mr-1.5" }}
- {{ .Title }}
- {{ if gt (len .Body) 0 }}
-
- {{ end }}
-
- {{ if not $.Pull.IsPatchBased }}
- {{ $fullRepo := $.RepoInfo.FullName }}
- {{ if not $.Pull.IsBranchBased }}
- {{ $fullRepo = printf "%s/%s" $owner $.PullSourceRepo.Name }}
+ {{ $round := .RoundNumber }}
+
+
+ {{ $s := "s" }}
+ {{ if eq (len $patches) 1 }}
+ {{ $s = "" }}
+ {{ end }}
+
+ {{ i "chevrons-up-down" "w-4 h-4" }} expand {{ len $patches }} commit{{$s}}
+
+
+ {{ i "chevrons-down-up" "w-4 h-4" }} hide {{ len $patches }} commit{{$s}}
+
+
+ {{ range $patches }}
+
+
+ {{ i "git-commit-horizontal" "w-4 h-4" }}
+
+ {{ if not $.Pull.IsPatchBased }}
+ {{ $fullRepo := $.RepoInfo.FullName }}
+ {{ if not $.Pull.IsBranchBased }}
+ {{ $fullRepo = printf "%s/%s" $owner $.PullSourceRepo.Name }}
+ {{ end }}
+
{{ slice .SHA 0 8 }}
+ {{ else }}
+
{{ slice .SHA 0 8 }}
{{ end }}
-
{{ slice .SHA 0 8 }}
- {{ else }}
-
{{ slice .SHA 0 8 }}
- {{ end }}
+
+
+ {{ .Title }}
+ {{ if gt (len .Body) 0 }}
+
+ {{ end }}
+
+ {{ if gt (len .Body) 0 }}
+
+ {{ nl2br .Body }}
+
+ {{ end }}
- {{ if gt (len .Body) 0 }}
-
- {{ nl2br .Body }}
-
- {{ end }}
-