+7
-7
appview/pages/templates/repo/pulls/pull.html
+7
-7
appview/pages/templates/repo/pulls/pull.html
···
6
6
{{ template "repo/pulls/fragments/pullHeader" . }}
7
7
{{ end }}
8
8
9
-
10
-
11
9
{{ define "repoAfter" }}
12
10
<section id="submissions" class="mt-4">
13
11
<div class="flex flex-col gap-4">
···
65
63
</summary>
66
64
67
65
{{ if .IsFormatPatch }}
68
-
<div class="rounded ml-12 drop-shadow-sm bg-white dark:bg-gray-800 dark:text-white w-fit md:max-w-3/5 flex flex-col gap-2 mt-2 relative">
69
-
{{ $patches := .AsFormatPatch }}
70
-
{{ range $patches }}
71
-
<div id="commit-{{.SHA}}" class="py-2 px-4 relative w-full md:max-w-3/5 md:w-fit flex flex-col">
66
+
{{ $patches := .AsFormatPatch }}
67
+
{{ range $patches }}
68
+
<div class="rounded ml-20 drop-shadow-sm bg-white dark:bg-gray-800 dark:text-white w-fit md:max-w-3/5 flex flex-col gap-2 mt-2 relative">
69
+
<div id="commit-{{.SHA}}" class="py-2 px-2 relative w-full md:max-w-3/5 md:w-fit flex flex-col">
72
70
<div class="flex items-center justify-between gap-2">
71
+
<div class="mr-4 flex items-center justify-start">
73
72
{{ i "git-commit-horizontal" "w-4 h-4 mr-1.5" }}
74
73
<span>{{ .Title }}</span>
75
74
{{ if gt (len .Body) 0 }}
···
80
79
{{ i "ellipsis" "w-3 h-3" }}
81
80
</button>
82
81
{{ end }}
82
+
</div>
83
83
<div class="text-sm text-gray-500 dark:text-gray-400">
84
84
{{ if not $.Pull.IsPatchBased }}
85
85
{{ $fullRepo := $.RepoInfo.FullName }}
···
98
98
</p>
99
99
{{ end }}
100
100
</div>
101
-
{{ end }}
102
101
</div>
102
+
{{ end }}
103
103
{{ end }}
104
104
105
105