{{$canAutoMerge := false}} {{if and (gt .Issue.PullRequest.CommitsBehind 0) (not .Issue.IsClosed) (not .Issue.PullRequest.IsChecking) (not .IsPullFilesConflicted) (not .IsPullRequestBroken) (not $canAutoMerge)}}
{{svg "octicon-alert"}} {{$.locale.Tr "repo.pulls.outdated_with_base_branch"}}
{{if and .UpdateAllowed .UpdateByRebaseAllowed}}
{{end}} {{if and .UpdateAllowed (not .UpdateByRebaseAllowed)}}
{{.CsrfTokenHtml}}
{{end}}
{{end}}