Merge pull request '[GITEA] Wrap branch information in PR list' (#1255) from Gusted/forgejo:forgejo-120-wrap-branches into v1.20/forgejo

Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/1255
This commit is contained in:
Gusted 2023-08-13 12:22:55 +00:00
commit 30b11209d1

View file

@ -41,7 +41,7 @@
{{$.locale.Tr .GetLastEventLabelFake $timeStr (.Poster.GetDisplayName | Escape) | Safe}}
{{end}}
{{if .IsPull}}
<div class="branches gt-df gt-ac">
<div class="branches gt-df gt-ac gt-fw gt-gap-2">
<div class="branch">
<a href="{{.PullRequest.BaseRepo.Link}}/src/branch/{{PathEscapeSegments .PullRequest.BaseBranch}}">
{{/* inline to remove the spaces between spans */}}