this repo has no description
1{{ define "title" }}
2 compare refs on
3 {{ .RepoInfo.FullName }}
4{{ end }}
5
6{{ define "repoContent" }}
7 {{ template "repo/fragments/compareForm" . }}
8{{ end }}
9
10{{ define "repoAfter" }}
11 {{ $brs := take .Branches 5 }}
12 {{ if $brs }}
13 <section
14 class="p-6 mt-4 rounded-br rounded-bl bg-white dark:bg-gray-800 dark:text-white drop-shadow-sm w-full mx-auto">
15 <div class="flex flex-col items-center">
16 <p class="text-center text-black dark:text-white">
17 Recently updated branches in this repository:
18 </p>
19 <div
20 class="mt-4 grid grid-cols-1 divide-y divide-gray-200 dark:divide-gray-700 rounded border border-gray-200 dark:border-gray-700 w-full md:w-1/2">
21 {{ range $br := $brs }}
22 <a
23 href="/{{ $.RepoInfo.FullName }}/compare?head={{ $br.Name | urlquery }}"
24 class="no-underline hover:no-underline">
25 <div class="flex items-center justify-between p-2">
26 {{ $br.Name }}
27 <span class="text-gray-500 dark:text-gray-400">
28 {{ template "repo/fragments/time" $br.Commit.Committer.When }}
29 </span>
30 </div>
31 </a>
32 {{ end }}
33 </div>
34 </div>
35 </section>
36 {{ end }}
37{{ end }}