+6
-4
appview/pages/templates/repo/pulls/fragments/pullStack.html
+6
-4
appview/pages/templates/repo/pulls/fragments/pullStack.html
···
5
5
{{ with $.Pull }}
6
6
{{ $isCurrent = eq $pull.PullId $.Pull.PullId }}
7
7
{{ end }}
8
-
<div class="flex gap-2 items-center p-2">
9
-
{{ block "summarizedHeader" (list $pull $) }} {{ end }}
8
+
<div class="flex gap-2 items-center p-2 hover:bg-gray-100 hover:dark:bg-gray-700 {{ if $isCurrent }}bg-gray-100 dark:bg-gray-700{{ end }}">
10
9
{{ if $isCurrent }}
11
-
{{ i "arrow-left" "w-4 h-4" }}
10
+
{{ i "arrow-right" "w-4 h-4" }}
12
11
{{ end }}
12
+
<div {{ if not $isCurrent }} class="ml-6" {{ end }}>
13
+
{{ block "summarizedHeader" (list $pull $) }} {{ end }}
14
+
</div>
13
15
</div>
14
16
{{ end }}
15
17
</div>
···
18
20
{{ define "summarizedHeader" }}
19
21
{{ $pull := index . 0 }}
20
22
{{ $root := index . 1 }}
21
-
<a href="/{{ $root.RepoInfo.FullName }}/pulls/{{ $pull.PullId }}" class="no-underline hover:no-underline">
23
+
<a href="/{{ $root.RepoInfo.FullName }}/pulls/{{ $pull.PullId }}">
22
24
<div class="flex text-sm items-center gap-2">
23
25
{{ block "summarizedPullState" $pull }} {{ end }}
24
26
<span class="dark:text-white">