blob: bdd6b67ef3d587b2eec54a2fcd52c7b829251c3f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
<% layout("/layouts/repo.eta"); it.searchType = "pullrequests" %>
<table>
<% for (const pull of it.pulls) { %>
<tr>
<td>#<%= pull.number %></td>
<td><%~ include("./_issueState.eta", { state: pull.state }) %></td>
<td>
<a href="/<%= it.repo.owner %>/<%= it.repo.name %>/pull/<%= pull.number %>">
<%= pull.title %>
</a>
<% for (const label of pull.labels) { %>
<%~ include("./_issueLabel.eta", { label }) %>
<% } %>
</td>
<td class="timestamp"><time title="<%= pull.createdAt %>"><%= pull.createdAt.split("T")[0] %></time></td>
</tr>
<% } %>
</table>
|