remove PathEscapeSegments

This commit is contained in:
yp05327 2023-07-13 07:52:58 +00:00
parent bc176bb1bc
commit d3f72aac2f
1 changed files with 2 additions and 2 deletions

View File

@ -14,9 +14,9 @@
<div class="ui positive message gt-df gt-ac">
<div class="gt-f1">
{{$timeSince := TimeSince .UpdatedUnix.AsTime $.locale}}
{{$.locale.Tr "repo.pulls.recently_pushed_new_branches" (PathEscapeSegments $branchName) $timeSince | Safe}}
{{$.locale.Tr "repo.pulls.recently_pushed_new_branches" $branchName $timeSince | Safe}}
</div>
<a aria-role="button" class="ui compact positive button gt-m-0" href="{{$pullRepo.ComposeBranchCompareURL $baseRepo (PathEscapeSegments .Name)}}">
<a aria-role="button" class="ui compact positive button gt-m-0" href="{{$pullRepo.ComposeBranchCompareURL $baseRepo .Name}}">
{{$.locale.Tr "repo.pulls.compare_changes"}}
</a>
</div>