{{ define "repo/fragments/compareAllowPull" }}

This comparison can be turned into a pull request to be reviewed and discussed.

{{ $newPullUrl := printf "/%s/pulls/new?strategy=branch&targetBranch=%s&sourceBranch=%s" .RepoInfo.FullName .Base .Head }}
{{ i "git-pull-request-create" "w-4 h-4" }} create pull {{ i "loader-circle" "w-4 h-4 animate-spin hidden group-[.htmx-request]:inline" }}
{{ end }}