{{if .CanSyncFork}}
{{$baseBranchHTML := HTMLFormat "%s:%s" .BaseBranchLink .Repository.BaseRepo.FullName .BranchName}} {{ctx.Locale.TrN .ForkCommitsBehind "repo.sync_fork.branch_behind_one" "repo.sync_fork.branch_behind_few" .ForkCommitsBehind $baseBranchHTML}}
{{.CsrfTokenHtml}}
{{end}}