{{if .CanSyncFork}}
	<div class="ui positive message tw-flex tw-items-center" id="sync_fork_msg">
		<div class="tw-flex-1">
			{{$baseBranchHTML := HTMLFormat "<a href='%s'>%s:%s</a>" .BaseBranchLink .Repository.BaseRepo.FullName .BranchName}}
			{{ctx.Locale.TrN .ForkCommitsBehind "repo.sync_fork.branch_behind_one" "repo.sync_fork.branch_behind_few" .ForkCommitsBehind $baseBranchHTML}}
		</div>
		<form method="post" action="{{.RepoLink}}/sync_fork">
			<input type="hidden" name="branch" value="{{.BranchName}}">
			<button class="ui compact positive button tw-m-0">
				{{ctx.Locale.Tr "repo.sync_fork.button"}}
			</button>
		</form>
	</div>
{{end}}
