tangled
alpha
login
or
join now
moll.dev
/
core
forked from
tangled.org/core
this repo has no description
0
fork
atom
overview
issues
pulls
pipelines
add basic pr header to interdiff
oppi.li
9 months ago
12ec68d5
c4b9545e
+19
-1
2 changed files
expand all
collapse all
unified
split
appview
pages
templates
repo
fragments
interdiff.html
pulls
interdiff.html
+1
-1
appview/pages/templates/repo/fragments/interdiff.html
···
6
6
<section class="mt-6 p-6 border border-gray-200 dark:border-gray-700 w-full mx-auto rounded bg-white dark:bg-gray-800 drop-shadow-sm">
7
7
<div class="diff-stat">
8
8
<div class="flex gap-2 items-center">
9
9
-
<strong class="text-sm uppercase dark:text-gray-200">affected files</strong>
9
9
+
<strong class="text-sm uppercase dark:text-gray-200">files</strong>
10
10
</div>
11
11
<div class="overflow-x-auto">
12
12
<ul class="dark:text-gray-200">
+18
appview/pages/templates/repo/pulls/interdiff.html
···
3
3
{{ end }}
4
4
5
5
{{ define "content" }}
6
6
+
<div class="rounded drop-shadow-sm bg-white dark:bg-gray-800 py-4 px-6 dark:text-white">
7
7
+
<header class="pb-2">
8
8
+
<div class="flex gap-3 items-center mb-3">
9
9
+
<a href="/{{ .RepoInfo.FullName }}/pulls/{{ .Pull.PullId }}/" class="flex items-center gap-2 font-medium">
10
10
+
{{ i "arrow-left" "w-5 h-5" }}
11
11
+
back
12
12
+
</a>
13
13
+
<span class="select-none before:content-['\00B7']"></span>
14
14
+
interdiff of round #{{ .Round }} and #{{ sub .Round 1 }}
15
15
+
</div>
16
16
+
<div class="border-t border-gray-200 dark:border-gray-700 my-2"></div>
17
17
+
<h1 class="text-2xl mt-3">
18
18
+
{{ .Pull.Title }}
19
19
+
<span class="text-gray-500 dark:text-gray-400">#{{ .Pull.PullId }}</span>
20
20
+
</h1>
21
21
+
</header>
22
22
+
</div>
23
23
+
6
24
<section>
7
25
{{ template "repo/fragments/interdiff" (list .RepoInfo.FullName .Interdiff) }}
8
26
</section>