@ -60,19 +60,17 @@
{{ $ .i18n .Tr .GetLastEventLabelFake $ timeStr ( .Poster .GetDisplayName | Escape ) | Safe }}
{{ $ .i18n .Tr .GetLastEventLabelFake $ timeStr ( .Poster .GetDisplayName | Escape ) | Safe }}
{{ end }}
{{ end }}
{{ if .IsPull }}
{{ if .IsPull }}
<div class="branches">
<div class="branches df ac ">
<div class="branch">
<div class="branch">
<a class="bold" href=" {{ .PullRequest .BaseRepo .HTMLURL }} /src/branch/ {{ PathEscapeSegments .PullRequest .BaseBranch }} ">
<a href=" {{ .PullRequest .BaseRepo .HTMLURL }} /src/branch/ {{ PathEscapeSegments .PullRequest .BaseBranch }} ">
{{ / * inline to remove the spaces between spans * / }}
{{ / * inline to remove the spaces between spans * / }}
{{ if ne .RepoID .PullRequest .BaseRepoID }} <span class="truncated-name"> {{ .PullRequest .BaseRepo .OwnerName }} </span>: {{ end }} <span class="truncated-name"> {{ .PullRequest .BaseBranch }} </span>
{{ if ne .RepoID .PullRequest .BaseRepoID }} <span class="truncated-name"> {{ .PullRequest .BaseRepo .OwnerName }} </span>: {{ end }} <span class="truncated-name"> {{ .PullRequest .BaseBranch }} </span>
</a>
</a>
</div>
</div>
{{ svg "gitea-double-chevron-left" 1 2 "mx-1" }}
«
{{ if .PullRequest .HeadRepo }}
{{ if .PullRequest .HeadRepo }}
<div class="branch">
<div class="branch">
<a class="bold" href=" {{ .PullRequest .HeadRepo .HTMLURL }} /src/branch/ {{ PathEscapeSegments .PullRequest .HeadBranch }} ">
<a href=" {{ .PullRequest .HeadRepo .HTMLURL }} /src/branch/ {{ PathEscapeSegments .PullRequest .HeadBranch }} ">
{{ / * inline to remove the spaces between spans * / }}
{{ / * inline to remove the spaces between spans * / }}
{{ if ne .RepoID .PullRequest .HeadRepoID }} <span class="truncated-name"> {{ .PullRequest .HeadRepo .OwnerName }} </span>: {{ end }} <span class="truncated-name"> {{ .PullRequest .HeadBranch }} </span>
{{ if ne .RepoID .PullRequest .HeadRepoID }} <span class="truncated-name"> {{ .PullRequest .HeadRepo .OwnerName }} </span>: {{ end }} <span class="truncated-name"> {{ .PullRequest .HeadBranch }} </span>
</a>
</a>