this repo has no description
1{{ define "repo/fragments/compareAllowPull" }}
2 <div class="flex items-baseline justify-normal gap-4">
3 <p>
4 This comparison can be turned into a pull request to be reviewed and
5 discussed.
6 </p>
7
8 {{ $newPullUrl := printf "/%s/pulls/new?strategy=branch&targetBranch=%s&sourceBranch=%s" .RepoInfo.FullName .Base .Head }}
9
10
11 <div class="flex justify-start items-center gap-2 mt-2">
12 <a
13 href="{{ $newPullUrl }}"
14 class="btn flex items-center gap-2 no-underline hover:no-underline"
15 >
16 {{ i "git-pull-request-create" "w-4 h-4" }}
17 create pull
18 <span id="create-pull-spinner" class="group">
19 {{ i "loader-circle" "w-4 h-4 animate-spin hidden group-[.htmx-request]:inline" }}
20 </span>
21 </a>
22 </div>
23 </div>
24{{ end }}