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
46
47
48
49
50
51
52
53
{{define "content"}}
<div class="row">
<div class="col-md-12">
<h2>Review queue</h2>
<h3 class="h5">
Waiting on you
<span class="badge badge-primary">{{len .Data.Open}}</span>
</h3>
{{if .Data.Open}}
<table class="table">
<thead>
<tr><th>Proposal</th><th>Space</th><th>Agent</th></tr>
</thead>
<tbody>
{{range .Data.Open}}
<tr>
<td><a href="{{.Href}}">#{{.ID}} — {{.Title}}</a></td>
<td class="text-muted"><code>{{.Space}}</code></td>
<td class="text-muted"><code>{{.Agent}}</code></td>
</tr>
{{end}}
</tbody>
</table>
{{else}}
<p class="text-muted">No open proposals. Your queue is clear.</p>
{{end}}
<h3 class="h5">Recently auto-merged</h3>
<p class="text-muted">
<small>Content the space's policy merged without stopping for review.</small>
</p>
{{if .Data.Digest}}
<table class="table">
<thead>
<tr><th>Proposal</th><th>Space</th><th>Agent</th></tr>
</thead>
<tbody>
{{range .Data.Digest}}
<tr>
<td><a href="{{.Href}}">#{{.ID}} — {{.Title}}</a></td>
<td class="text-muted"><code>{{.Space}}</code></td>
<td class="text-muted"><code>{{.Agent}}</code></td>
</tr>
{{end}}
</tbody>
</table>
{{else}}
<p class="text-muted">Nothing has auto-merged recently.</p>
{{end}}
</div>
</div>
{{end}}