aboutsummaryrefslogtreecommitdiffstats
path: root/dashboard/app/templates/backports.html
blob: 523f74e8caed399f39fc86ce1edb15d3ad8ba545 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
{{/*
Copyright 2023 syzkaller project authors. All rights reserved.
Use of this source code is governed by Apache 2 LICENSE that can be found in the LICENSE file.
*/}}

<!doctype html>
<html>
<head>
	{{template "head" .Header}}
	<title>syzbot</title>
</head>
<body>
	{{template "header" .Header}}
	{{$getName := .DisplayNamespace}}
	{{range $group := .Groups}}
	<b>{{$group.From.URL}} {{$group.From.Branch}}{{$group.To.URL}} {{$group.To.Branch}}</b><br />

	<table class="list_table">
		<tr>
			<th>Commit</th>
			{{range $ns := .Namespaces}}
				<th>{{call $getName $ns}}</th>
			{{end}}
		</tr>
		{{range $backport := $group.List}}
		<tr>
			<td class="commit_list">
			{{link $backport.Commit.Link (formatShortHash $backport.Commit.Hash)}}
			{{$backport.Commit.Title}}
			</td>
			{{range $ns := $group.Namespaces}}
			<td>
			{{$list := index $backport.Bugs $ns}}
				{{range $i, $info := $list}}
					{{if gt $i 0}}<br/>{{end}}
					{{link $info.Bug.Link $info.Bug.Title}}
				{{end}}
			</td>
			{{end}}
		</tr>
		{{end}}
	</table>
	{{end}}
</body>
</html>