+5
-1
appview/pages/templates/repo/pulls/pulls.html
+5
-1
appview/pages/templates/repo/pulls/pulls.html
···
80
</span>
81
{{ if not .IsPatchBased }}
82
<span>from
83
-
{{ if not .IsBranchBased }}
84
<a href="/{{ $owner }}/{{ .PullSource.Repo.Name }}" class="no-underline hover:underline">{{ $owner }}/{{ .PullSource.Repo.Name }}</a>
85
{{ end }}
86
87
<span class="text-xs rounded bg-gray-100 dark:bg-gray-700 text-black dark:text-white font-mono px-2 mx-1/2 inline-flex items-center">
···
80
</span>
81
{{ if not .IsPatchBased }}
82
<span>from
83
+
{{ if .IsForkBased }}
84
+
{{ if .PullSource.Repo }}
85
<a href="/{{ $owner }}/{{ .PullSource.Repo.Name }}" class="no-underline hover:underline">{{ $owner }}/{{ .PullSource.Repo.Name }}</a>
86
+
{{ else }}
87
+
<span class="italic">[deleted fork]</span>
88
+
{{ end }}
89
{{ end }}
90
91
<span class="text-xs rounded bg-gray-100 dark:bg-gray-700 text-black dark:text-white font-mono px-2 mx-1/2 inline-flex items-center">
+3
-2
appview/state/pull.go
+3
-2
appview/state/pull.go