aboutsummaryrefslogtreecommitdiff
path: root/views/pulls.eta
blob: 697f6b149dc1b938380c6d430fb69e0e3feec9e8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<% layout("/layouts/repo.eta"); 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>