aboutsummaryrefslogtreecommitdiff
path: root/views/pulls.eta
blob: 9ec5ca16ba9bffb5b97bfd38cfd5599d3ec4525c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<% layout("./layout"); it.searchType = "pullrequests" %>

<table>
  <% for (const pull of it.pulls) { %>
    <tr>
      <td>#<%= pull.number %></td>
      <td>
        <a href="/<%= it.repo.owner %>/<%= it.repo.name %>/pull/<%= pull.number %>">
          <%= pull.title %>
        </a>
      </td>
      <td class="timestamp"><time title="<%= pull.createdAt %>"><%= pull.createdAt.split("T")[0] %></time></td>
    </tr>
  <% } %>
</table>