We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c6cc392 commit c381343Copy full SHA for c381343
templates/repo/code/recently_pushed_new_branches.tmpl
@@ -2,7 +2,8 @@
2
<div class="ui positive message gt-df gt-ac">
3
<div class="gt-f1">
4
{{$timeSince := TimeSince .CommitTime.AsTime ctx.Locale}}
5
- {{ctx.Locale.Tr "repo.pulls.recently_pushed_new_branches" .Name $timeSince}}
+ {{$branchLink := HTMLFormat `<a href="%s/src/branch/%s">%s</a>` $.RepoLink (PathEscapeSegments .Name) .Name}}
6
+ {{ctx.Locale.Tr "repo.pulls.recently_pushed_new_branches" $branchLink $timeSince}}
7
</div>
8
<a role="button" class="ui compact positive button gt-m-0" href="{{$.Repository.ComposeBranchCompareURL $.Repository.BaseRepo .Name}}">
9
{{ctx.Locale.Tr "repo.pulls.compare_changes"}}
0 commit comments