diff --git a/appview/pages/templates/repo/pulls/fragments/pullHeader.html b/appview/pages/templates/repo/pulls/fragments/pullHeader.html
index 49a2498..3b9dbe9 100644
--- a/appview/pages/templates/repo/pulls/fragments/pullHeader.html
+++ b/appview/pages/templates/repo/pulls/fragments/pullHeader.html
@@ -42,19 +42,17 @@
{{ if not .Pull.IsPatchBased }}
- from
- {{ if .Pull.IsForkBased }}
- {{ if .Pull.PullSource.Repo }}
- {{ $owner }}/{{ .Pull.PullSource.Repo.Name }}
- {{ else }}
- [deleted fork]
- {{ end }}
- {{ end }}
-
+ from
- {{ .Pull.PullSource.Branch }}
+ {{ if .Pull.IsForkBased }}
+ {{ if .Pull.PullSource.Repo }}
+ {{ $owner }}/{{ .Pull.PullSource.Repo.Name }}:
+ {{- else -}}
+ [deleted fork]
+ {{- end -}}
+ {{- end -}}
+ {{- .Pull.PullSource.Branch -}}
-
{{ end }}
diff --git a/appview/pages/templates/repo/pulls/pulls.html b/appview/pages/templates/repo/pulls/pulls.html
index fea5f6e..6db62e1 100644
--- a/appview/pages/templates/repo/pulls/pulls.html
+++ b/appview/pages/templates/repo/pulls/pulls.html
@@ -79,18 +79,16 @@
{{ if not .IsPatchBased }}
- from
- {{ if .IsForkBased }}
- {{ if .PullSource.Repo }}
- {{ $owner }}/{{ .PullSource.Repo.Name }}
- {{ else }}
- [deleted fork]
- {{ end }}
- {{ end }}
-
-
- {{ .PullSource.Branch }}
-
+ from
+
+ {{ if .IsForkBased }}
+ {{ if .PullSource.Repo }}
+ {{ $owner }}/{{ .PullSource.Repo.Name }}:
+ {{- else -}}
+ [deleted fork]
+ {{- end -}}
+ {{- end -}}
+ {{- .PullSource.Branch -}}
{{ end }}